diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 283f4de..08484c4 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -28,11 +28,3 @@ jobs: - run: | pip install pytest-cov python -m pytest --cov=cyto_ml --cov-report xml:coverage.xml tests/ - coverage: - runs-on: ubuntu-latest - steps: - - name: Test coverage report - uses: orgoro/coverage@v3.1 - with: - coverageFile: coverage.xml - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..01344aa --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,14 @@ +name: 'coverage' +on: + pull_request: + branches: + - main +jobs: + coverage: + runs-on: ubuntu-latest + steps: + - name: Test coverage report + uses: orgoro/coverage@v3.1 + with: + coverageFile: coverage.xml + token: ${{ secrets.GITHUB_TOKEN }}