From f27a2489ed72a422819557090d6ff51a4f6174a0 Mon Sep 17 00:00:00 2001 From: HgO Date: Wed, 17 Apr 2024 16:11:30 +0200 Subject: [PATCH] fix pipeline to use coverage report from pytest --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5215496..d702457 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,9 +60,7 @@ tests: stage: test script: - apk add --no-cache libstdc++ - - coverage run --source matrix_alertbot -m pytest --junitxml=report.xml - - coverage report --precision 2 - - coverage xml -o coverage.xml + - pytest cache: policy: pull artifacts: