Skip to content

Commit

Permalink
Add .coveragerc and -e pip flag #48
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-austin committed Apr 12, 2023
1 parent c3a07ca commit 25bef5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
branch = True
source = pymuonsuite
omit = pymuonsuite/test/*
2 changes: 1 addition & 1 deletion .github/workflows/python-package-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
shell: bash # Windows runners have Git Bash installed so this should work on all runners
- name: Install package
run: pip install .
run: pip install -e .
- name: Test with pytest
run: pytest --cov pymuonsuite --cov-report xml
- name: Upload to Codecov
Expand Down

0 comments on commit 25bef5e

Please sign in to comment.