diff --git a/.coveragerc b/.coveragerc index 21b172066..116e03964 100644 --- a/.coveragerc +++ b/.coveragerc @@ -3,7 +3,7 @@ [run] relative_files = True branch = True -source = brian2 +source_pkgs = brian2 omit = */brian2/tests/* */brian2/sphinxext/* diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 230574bed..8d9e20f3b 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -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: