Report test coverage

parent c11a27da
......@@ -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
......
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