Skip to content

Commit

Permalink
modified coverage command
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislupp committed Mar 21, 2024
1 parent 0255afa commit 8c9236d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run Unit Tests with Coverage
run: |
python -m coverage run --omit=philote_mdo/generated -m unittest discover -v -s tests -p 'test_*.py'
python -m coverage run --source=philote_mdo --omit="philote_mdo/generated", "*__init__*" -m unittest discover -v -s tests -p 'test_*.py'
- name: Coveralls
if: ${{ matrix.python-version == '3.12' }}
uses: coverallsapp/github-action@v2
Expand Down

0 comments on commit 8c9236d

Please sign in to comment.