diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..1370074 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,4 @@ +[run] +branch = True +source = pymuonsuite +omit = pymuonsuite/test/* \ No newline at end of file diff --git a/.github/workflows/python-package-tests.yml b/.github/workflows/python-package-tests.yml index c4593aa..d74f82d 100644 --- a/.github/workflows/python-package-tests.yml +++ b/.github/workflows/python-package-tests.yml @@ -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