From 115df39ad547792d111015e5483fc5ff3d27f284 Mon Sep 17 00:00:00 2001 From: Jithu Murugan <j.murugan@fz-juelich.de> Date: Fri, 21 Feb 2025 16:40:37 +0100 Subject: [PATCH] - Enabled coverage calculation alongside test execution in the test bench. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3adf36d..8b5459c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,7 +31,7 @@ testing-pytest-coverage: - chmod +x dedal/utils/bootstrap.sh - ./dedal/utils/bootstrap.sh - pip install -e .[test] - - pytest ./dedal/tests/ -s --junitxml=test-results.xml + - coverage run -m pytest -s --tb=short --junitxml=test-results.xml ./dedal/tests/ && coverage html -i -d htmlcov artifacts: when: always reports: -- GitLab