Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
153ee16f
Unverified
Commit
153ee16f
authored
Jan 11, 2017
by
Thom Wiggers
📐
Browse files
Report test coverage
parent
c11a27da
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
153ee16f
...
...
@@ -19,5 +19,8 @@ website/.sass-cache/
# rope
.ropeproject/
# Coverage
.coverage
# venv from source_me.sh
venv/
.gitlab-ci.yml
View file @
153ee16f
...
...
@@ -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
...
...
tox.ini
View file @
153ee16f
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment