Commit d99b061d authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'coverage' into 'master'

Report test coverage

See merge request !301
parents c11a27da 19910942
......@@ -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
......
......@@ -5,6 +5,13 @@ New new Thalia website, now with extra Django.
#Concrexit
[![build status](https://gitlab.science.ru.nl/thalia/concrexit/badges/master/build.svg)](https://gitlab.science.ru.nl/thalia/concrexit/commits/master)
[![coverage report](https://gitlab.science.ru.nl/thalia/concrexit/badges/master/coverage.svg)](https://gitlab.science.ru.nl/thalia/concrexit/commits/master)
Getting started
---------------
......
......@@ -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
......
Supports Markdown
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