Skip to content

Commit

Permalink
Use a .coveragerc file to provide coverage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aarranz committed Nov 17, 2021
1 parent ff38597 commit 52d9f9a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[run]
branch = True
source = .
omit =
*test*


[report]
omit =
*test*
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
pip install coverage
- name: Run tests
run: |
coverage run -a --branch --source=. wirecloud/keycloak/tests/tests.py
coverage run wirecloud/keycloak/tests/tests.py
- name: Coveralls Parallel
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down

0 comments on commit 52d9f9a

Please sign in to comment.