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

Test coverage

parent 1a2c9511
......@@ -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
......
......@@ -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
......
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