Skip to content

Commit

Permalink
chore: exclude test files from coverage run
Browse files Browse the repository at this point in the history
  • Loading branch information
d-Rickyy-b committed Sep 12, 2020
1 parent 8c96aec commit 81e7ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
# command to run tests
script:
- python -m compileall ./
- coverage run --omit='*/virtualenv/*,*/site-packages/*' -m unittest discover -s . -v -p "*_test.py"
- coverage run --omit='*/virtualenv/*,*/site-packages/*,*_tests.py' -m unittest discover -s . -v -p "*_test.py"

# create coverage for one python version
after_success:
Expand Down

0 comments on commit 81e7ee4

Please sign in to comment.