Skip to content
Snippets Groups Projects
Unverified Commit 153ee16f authored by Thom Wiggers's avatar Thom Wiggers :triangular_ruler:
Browse files

Report test coverage

parent c11a27da
No related branches found
No related tags found
1 merge request!301Report test coverage
......@@ -19,5 +19,8 @@ website/.sass-cache/
# rope
.ropeproject/
# Coverage
.coverage
# venv from source_me.sh
venv/
......@@ -20,9 +20,11 @@ pep8:
- export PIP_CACHE_DIR="pip-cache"
- mkdir -p pip-cache
- git log -1
- pip install tox
- pip install tox coverage
script:
- tox -e $PYTHON_VERSION
- cd website
- coverage report
python34:
<<: *djangotest
......
......@@ -8,9 +8,10 @@ commands =
python manage.py check
python manage.py templatecheck --project-only
python manage.py makemigrations --no-input --check --dry-run
python -Wall manage.py test
python -Wall -mcoverage run --branch --source '.' manage.py test
deps =
-r{toxinidir}/requirements.txt
coverage
{env:CI_DEPS:}
passenv = GITLAB_CI
......
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