Skip to content
Snippets Groups Projects
Commit 31c65ed8 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

change testsuite in CI to run coverage.py directly

parent f6893443
Branches
Tags
No related merge requests found
Pipeline #69682 passed
...@@ -39,8 +39,10 @@ testsuite: ...@@ -39,8 +39,10 @@ testsuite:
- pip install "git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev" - pip install "git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev"
- pip install -e . - pip install -e .
script: script:
- pytest -v --cov-report html --cov-report term --cov=src/pystencilssfg - coverage run -m pytest -v
- coverage xml # need to run separately for gitlab to parse - coverage report
- coverage html
- coverage xml
artifacts: artifacts:
when: always when: always
paths: paths:
......
...@@ -48,3 +48,6 @@ versionfile_source = "src/pystencilssfg/_version.py" ...@@ -48,3 +48,6 @@ versionfile_source = "src/pystencilssfg/_version.py"
versionfile_build = "pystencilssfg/_version.py" versionfile_build = "pystencilssfg/_version.py"
tag_prefix = "v" tag_prefix = "v"
parentdir_prefix = "pystencilssfg-" parentdir_prefix = "pystencilssfg-"
[tool.coverage.run]
include = ["src/pystencilssfg/*"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment