From 5d97dd6224475b7931be68143af66c9b2949f172 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Tue, 14 Mar 2023 11:52:03 +0100 Subject: [PATCH] added test report artifact --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c8d905..930ded7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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