Skip to content

Commit

Permalink
Merge pull request City-of-Helsinki#105 from suutari-ai/fix-coverage
Browse files Browse the repository at this point in the history
Tune coverage reporting configuration
  • Loading branch information
suutari-ai authored Dec 23, 2019
2 parents 7475bd2 + 49e351a commit e48f687
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[run]
branch = True

[report]
omit =
*migrations*
*site-packages*
include =
parkings/*
*/.tox/*
manage.py
time_check_parking.py
Empty file added parkings/api/__init__.py
Empty file.
Empty file added parkings/api/auth/__init__.py
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ passenv = CI
setenv =
DEBUG=0
SECRET_KEY=topsecret123
commands = py.test -ra -vvv --strict --cov {posargs}
commands = pytest -ra -vvv --strict --doctest-modules --cov=. {posargs}

[testenv:requirements]
basepython = python3.5
Expand Down

0 comments on commit e48f687

Please sign in to comment.