From 37b05d11811cc82024101bac73a55ed6a004fd32 Mon Sep 17 00:00:00 2001 From: Rebecca Kohlhaas <rebecca.kohlhaas@iws.uni-stuttgart.de> Date: Thu, 27 Jun 2024 14:08:29 +0000 Subject: [PATCH] Pipeline: test junit report --- .gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c47dd1c7..e22117e49 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -61,13 +61,14 @@ unit-test-job: # This job runs in the test stage. script: - echo "Running unit tests..." - pip install pytest + - pip install pytest-cov - pip install -e . - # - pytest --junitxml=report.xml - - python -m pytest # tests/ + - pytest --junitxml=report.xml + #- python -m pytest # tests/ artifacts: when: always - #reports: - # junit: report.xml + reports: + junit: report.xml lint-test-job: # This job also runs in the test stage. stage: test # It can run at the same time as unit-test-job (in parallel). -- GitLab