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
No related merge requests found
......@@ -39,8 +39,10 @@ testsuite:
- pip install "git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev"
- pip install -e .
script:
- pytest -v --cov-report html --cov-report term --cov=src/pystencilssfg
- coverage xml # need to run separately for gitlab to parse
- coverage run -m pytest -v
- coverage report
- coverage html
- coverage xml
artifacts:
when: always
paths:
......
......@@ -48,3 +48,6 @@ versionfile_source = "src/pystencilssfg/_version.py"
versionfile_build = "pystencilssfg/_version.py"
tag_prefix = "v"
parentdir_prefix = "pystencilssfg-"
[tool.coverage.run]
include = ["src/pystencilssfg/*"]
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