Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
c2e6452d
Verified
Commit
c2e6452d
authored
Sep 14, 2021
by
Baptiste Beauplat
Browse files
Switch to branch coverage (Closes:
#136
)
parent
857b453f
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c2e6452d
...
...
@@ -47,7 +47,7 @@ before_script:
script
:
-
python3 setup.py develop | tee /tmp/deps.txt
-
(! grep Downloading /tmp/deps.txt)
-
python3 -m coverage run manage.py test -v 2 --exclude-tag nntp
-
python3 -m coverage run
--branch
manage.py test -v 2 --exclude-tag nntp
-
python3 -m coverage report --include='debexpo*' --omit '*/nntp.py'
-
python3 -m coverage html --include='debexpo*' --omit '*/nntp.py'
artifacts
:
...
...
tox.ini
View file @
c2e6452d
...
...
@@ -18,7 +18,7 @@ setenv =
commands
=
coverage
erase
coverage
run
manage.py
test
-v
2
--exclude-tag
nntp
{posargs}
coverage
run
--branch
manage.py
test
-v
2
--exclude-tag
nntp
{posargs}
coverage
report
--include
=
'debexpo*'
--omit '*/nntp.py'
coverage
html
--include
=
'debexpo*'
--omit '*/nntp.py'
...
...
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