Skip to content

Commit

Permalink
move coverage back to a second action (only run on pull_request)
Browse files Browse the repository at this point in the history
  • Loading branch information
metazool committed Jun 25, 2024
1 parent e38378b commit dbb603a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
14 changes: 14 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit dbb603a

Please sign in to comment.