From 77159dfb005fe5b329c933a6961617f5e2d8b126 Mon Sep 17 00:00:00 2001 From: DarkLynx32 <dennisowolabi@hotmail.nl> Date: Wed, 17 Mar 2021 23:00:57 +0100 Subject: [PATCH] Added junit report --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71f0fc1..d5aa367 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,11 +55,13 @@ UnitTestPython: stage: Test script: # Run LocalProjector tests - - pytest --cov=LocalProjector/src/ LocalProjector/tests/ + - pytest --cov=LocalProjector/src/ --junitxml=report.xml LocalProjector/tests/ # Export coverage report - coverage xml artifacts: + when: always reports: + junit: report.xml cobertura: coverage.xml expire_in: 1 week @@ -79,9 +81,6 @@ E2ETest: script: - echo "E2E tests have yet to be integrated." -# TODO integration stage -# TODO E2E stage - ################# # STAGE: deploy # ################# -- GitLab