Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
concrexit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
thalia
concrexit
Commits
153ee16f
Unverified
Commit
153ee16f
authored
8 years ago
by
Thom Wiggers
Browse files
Options
Downloads
Patches
Plain Diff
Report test coverage
parent
c11a27da
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!301
Report test coverage
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+3
-1
3 additions, 1 deletion
.gitlab-ci.yml
tox.ini
+2
-1
2 additions, 1 deletion
tox.ini
with
8 additions
and
2 deletions
.gitignore
+
3
−
0
View file @
153ee16f
...
...
@@ -19,5 +19,8 @@ website/.sass-cache/
# rope
.ropeproject/
# Coverage
.coverage
# venv from source_me.sh
venv/
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
3
−
1
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
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
2
−
1
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment