Skip to content
Snippets Groups Projects
Commit dfd48ae0 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Make sure coverage is computed after failed tests, too

parent 8442afd8
No related branches found
No related tags found
1 merge request!141Add view tests
Pipeline #126949 passed
......@@ -37,6 +37,8 @@ test:
- echo "GRANT ALL on *.* to '${MYSQL_USER}';"| mysql -u root --password="${MYSQL_ROOT_PASSWORD}" -h mysql
- pip install pytest-cov unittest-xml-reporting
- coverage run --source='.' manage.py test --settings AKPlanning.settings_ci
after_script:
- source venv/bin/activate
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment