added test report artifact

This commit is contained in:
2023-03-14 11:52:03 +01:00
parent bed086f95f
commit 5d97dd6224

View File

@ -16,13 +16,15 @@ tests:
XDG_RUNTIME_DIR: "/tmp/runtime-root"
script:
- *install-grum-test
- coverage run --source=./grum -m pytest ./tests
- coverage run --source=./grum -m pytest ./tests --junitxml=report-junit.xml
- coverage report
- coverage xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
when: always
reports:
cobertura: coverage.xml
junit: report-junit.xml
tests-3.6:
stage: OptionalTests