From 5957334c899e542b76c7375657c2e9a902c95eee Mon Sep 17 00:00:00 2001 From: Jithu Murugan <j.murugan@fz-juelich.de> Date: Mon, 24 Feb 2025 11:18:00 +0100 Subject: [PATCH] - Corrected the failing tests. --- .gitlab-ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f35ffbbd..57460e74 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,10 +32,14 @@ unit_tests: - ./dedal/utils/bootstrap.sh - pip install -e .[test] script: - - coverage run s --tb=short --junitxml=test-results.xml -m pytest ./dedal/tests/unit_tests + - coverage run -m pytest -s --tb=short --junitxml=test-results.xml ./dedal/tests/unit_tests - coverage xml -o coverage_unit.xml artifacts: + when: always + reports: + junit: test-results.xml paths: + - test-results.xml - coverage_unit.xml expire_in: 1 week @@ -49,11 +53,15 @@ integration_tests: - ./dedal/utils/bootstrap.sh - pip install -e .[test] script: - - coverage run s --tb=short --junitxml=test-results.xml -m pytest ./dedal/tests/integration_tests + - coverage run -m pytest -s --tb=short --junitxml=test-results.xml ./dedal/tests/integration_tests - coverage xml -o coverage_integration.xml needs: ["unit_tests"] artifacts: + when: always + reports: + junit: test-results.xml paths: + - test-results.xml - coverage_integration.xml expire_in: 1 week -- GitLab