Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
thalia
concrexit
Commits
faad449c
Verified
Commit
faad449c
authored
Mar 02, 2019
by
Sébastiaan Versteeg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not specifiy parameters for coverage in ci: use .coveragerc
parent
6a86c28a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
.gitlab-ci.yml
.gitlab-ci.yml
+1
-7
website/.coveragerc
website/.coveragerc
+6
-0
No files found.
.gitlab-ci.yml
View file @
faad449c
...
...
@@ -45,13 +45,7 @@ codestyle:
-
poetry run python manage.py check
-
poetry run python manage.py templatecheck --project-only
-
poetry run python manage.py makemigrations --no-input --check --dry-run
-
>
poetry run
python -Wall -mcoverage run
--omit="manage.py,thaliawebsite/wsgi.py,*/migrations/*"
--branch
--source '.'
manage.py test
-
poetry run python -Wall -mcoverage run manage.py test
-
coverage report
python36-django21
:
...
...
website/.coveragerc
View file @
faad449c
...
...
@@ -5,7 +5,13 @@ omit =
*/tests.py
*/tests_*
*/tests/*
*/urls.py
*/settings/*
*/wsgi.py
manage.py
source = .
[report]
precision = 2
skip_covered = True
show_missing = True
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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