Skip to content

Commit

Permalink
Specify coverage of src directory only
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Feb 23, 2024
1 parent 8e2a65b commit 910b47c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
- name: Test with pytest
shell: bash -el {0}
run: |
pytest --color=yes --cov --cov-report=xml --cov-report=term-missing
pytest --color=yes --cov=src/ --cov-report=xml --cov-report=term-missing tests
# Coverage should work out of the box for public repos. For private repos, more setup is likely required.
- name: Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: funkelab/motile_toolbox

0 comments on commit 910b47c

Please sign in to comment.