added test report artifact
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user