Commit d76512f2 authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Merge branch 'fix/ci-tests-coverage' into 'master'

Do not specifiy parameters for coverage in ci: use .coveragerc

See merge request !1187
parents 6a86c28a faad449c
...@@ -45,13 +45,7 @@ codestyle: ...@@ -45,13 +45,7 @@ codestyle:
- poetry run python manage.py check - poetry run python manage.py check
- poetry run python manage.py templatecheck --project-only - poetry run python manage.py templatecheck --project-only
- poetry run python manage.py makemigrations --no-input --check --dry-run - poetry run python manage.py makemigrations --no-input --check --dry-run
- > - poetry run python -Wall -mcoverage run manage.py test
poetry run
python -Wall -mcoverage run
--omit="manage.py,thaliawebsite/wsgi.py,*/migrations/*"
--branch
--source '.'
manage.py test
- coverage report - coverage report
python36-django21: python36-django21:
......
...@@ -5,7 +5,13 @@ omit = ...@@ -5,7 +5,13 @@ omit =
*/tests.py */tests.py
*/tests_* */tests_*
*/tests/* */tests/*
*/urls.py
*/settings/*
*/wsgi.py
manage.py
source = .
[report] [report]
precision = 2 precision = 2
skip_covered = True skip_covered = True
show_missing = True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment