Commit 8f4eb9a1 authored by Antoine Berchet's avatar Antoine Berchet
Browse files

Test coverage

parent 1a2c9511
...@@ -190,7 +190,7 @@ tests_dummy: ...@@ -190,7 +190,7 @@ tests_dummy:
# - apt-get update # - apt-get update
- pip freeze - pip freeze
script: 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: after_script:
- mkdir -p coverage - mkdir -p coverage
- xmlstarlet sel -t -v "//coverage/@line-rate" reports/coverage.xml > coverage/.current_coverage - xmlstarlet sel -t -v "//coverage/@line-rate" reports/coverage.xml > coverage/.current_coverage
......
...@@ -12,7 +12,7 @@ setenv = ...@@ -12,7 +12,7 @@ setenv =
extras=test extras=test
skipsdist=True skipsdist=True
commands= 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] [testenv:py27]
basepython=python2.7 basepython=python2.7
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment