Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VERIFY
CIF
Commits
8f4eb9a1
Commit
8f4eb9a1
authored
Dec 20, 2021
by
Antoine Berchet
Browse files
Test coverage
parent
1a2c9511
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8f4eb9a1
...
...
@@ -190,7 +190,7 @@ tests_dummy:
# - apt-get update
-
pip freeze
script
:
-
tox -e py38 -e coverage -- -m "test_in_ci and dummy"
-
tox -e py38 -e coverage -- -m "test_in_ci and dummy
and fwd
"
after_script
:
-
mkdir -p coverage
-
xmlstarlet sel -t -v "//coverage/@line-rate" reports/coverage.xml > coverage/.current_coverage
...
...
tox.ini
View file @
8f4eb9a1
...
...
@@ -12,7 +12,7 @@ setenv =
extras
=
test
skipsdist
=
True
commands
=
pytest
--basetemp
=
{envtmpdir} --cov=
{envsitepackagesdir}/pycif --cov-branch
--no-cov-on-fail --html reports/pytest-{envname}.html --self-contained-html {posargs}
pytest
--basetemp
=
{envtmpdir} --cov=
pycif
--no-cov-on-fail --html reports/pytest-{envname}.html --self-contained-html {posargs}
[testenv:py27]
basepython
=
python2.7
...
...
Write
Preview
Supports
Markdown
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