summaryrefslogtreecommitdiffstats
path: root/run_tests.sh
diff options
context:
space:
mode:
authorVictor Engmark <victor@engmark.name>2021-07-29 09:14:27 +0000
committerGitHub <noreply@github.com>2021-07-29 11:14:27 +0200
commit00830d4aec06726540751db6b38e9988a1b12be9 (patch)
tree4a9ed816dfa6e4729bb75ff4b362915e308d4236 /run_tests.sh
parent757c0be1cee35b0d779fc33c54ae7c3512608761 (diff)
chore: Remove duplicate coverage configuration (#199)
This is already in `.coveragerc`.
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 2f8ebe9..da937ea 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -88,9 +88,8 @@ run_unit_tests(){
clean
# py.test -s => print standard output (i.e. show print statement output)
# -rw => print warnings
- OMIT="*pypy*,*venv*,*virtualenv*,*gitlint/tests/*"
target=${testargs:-"gitlint"}
- coverage run --omit=$OMIT -m pytest -rw -s $target
+ coverage run -m pytest -rw -s $target
TEST_RESULT=$?
if [ $include_coverage -eq 1 ]; then
COVERAGE_REPORT=$(coverage report -m)