Skip to content
Snippets Groups Projects
Commit 2c43b5d8 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Merge branch 'ci-dev' into 'main'

Enable CI unit test reports

See merge request !483
parents 6fa04893 9bcdced0
No related branches found
No related tags found
1 merge request!483Enable CI unit test reports
Pipeline #7709 passed
......@@ -76,12 +76,13 @@ unit-bionic:
stage: test
script:
- source .venv/bin/activate
- coverage run -m pytest tests/unit
- coverage run -m pytest --junitxml=report.xml tests/unit
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
reports:
junit: report.xml
coverage_report:
coverage_format: cobertura
path: coverage.xml
......@@ -92,12 +93,13 @@ unit-jammy:
stage: test
script:
- source .venv/bin/activate
- coverage run -m pytest tests/unit
- coverage run -m pytest --junitxml=report.xml tests/unit
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
reports:
junit: report.xml
coverage_report:
coverage_format: cobertura
path: coverage.xml
......@@ -108,7 +110,10 @@ e2e-bionic:
stage: test
script:
- source .venv/bin/activate
- pytest tests/e2e
- pytest --junitxml=report.xml tests/e2e
artifacts:
reports:
junit: report.xml
e2e-jammy:
......@@ -116,7 +121,10 @@ e2e-jammy:
stage: test
script:
- source .venv/bin/activate
- pytest tests/e2e
- pytest --junitxml=report.xml tests/e2e
artifacts:
reports:
junit: report.xml
docker-bionic-dev:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment