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