Skip to content
Snippets Groups Projects
Commit b326ec22 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

Try using other pytest command

parent d701e127
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,6 @@ run_unit_tests_coverage: ...@@ -50,7 +50,6 @@ run_unit_tests_coverage:
image: python:3.7 image: python:3.7
script: script:
- tox -e coverage - tox -e coverage
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts: artifacts:
reports: reports:
coverage_report: coverage_report:
......
...@@ -22,7 +22,7 @@ commands = ...@@ -22,7 +22,7 @@ commands =
[testenv:coverage] [testenv:coverage]
commands = commands =
{envpython} --version {envpython} --version
{envpython} -m pytest --cov-report xml --cov-report html --cov={{cookiecutter.project_slug}} {envpython} -m pytest --cov-report xml --cov-report html --cov-report xml:coverage.xml --cov={{cookiecutter.project_slug}}
# Use generative name and command prefixes to reuse the same virtualenv # Use generative name and command prefixes to reuse the same virtualenv
# for all linting jobs. # for all linting jobs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment