Skip to content

Commit

Permalink
Use source_pkgs in coverage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed May 25, 2021
1 parent 1b32a21 commit f0928b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .coveragerc
Expand Up @@ -3,7 +3,7 @@
[run]
relative_files = True
branch = True
source = brian2
source_pkgs = brian2
omit =
*/brian2/tests/*
*/brian2/sphinxext/*
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/testsuite.yml
Expand Up @@ -42,6 +42,7 @@ jobs:

- name: Upload coverage data to coveralls
run: |
cd $GITHUB_WORKSPACE/..
conda install --quiet --yes coveralls
coveralls --service=github --rcfile=$GITHUB_WORKSPACE/.coveragerc
env:
Expand Down

0 comments on commit f0928b2

Please sign in to comment.