From 7a39b1e11b0ae42f9518a567d4c4db8c137f0459 Mon Sep 17 00:00:00 2001 From: lhennig <lhennig@km3net.de> Date: Thu, 3 Oct 2024 20:07:38 +0200 Subject: [PATCH] added python3.7 coverage --- .gitlab-ci.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ababcb..852d942 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,15 +44,20 @@ test: - PYTHON_VERSION: "3.7" coverage: - image: docker.km3net.de/base/python:3.6 - stage: coverage - script: - - *virtualenv_definition - - "make test-cov|grep TOTAL| awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'" - coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/' - artifacts: - paths: - - reports/coverage + image: docker.km3net.de/base/python:$PYTHON_VERSION + stage: coverage + script: + - mkdir -p reports + - *virtualenv_definition + - "make test-cov | grep TOTAL | awk '{printf \"COVERAGE: %.2f%%\", (1-$3/$2)*100 }'" + coverage: '/COVERAGE:\s*([0-9]*\.[0-9]*%)/' + parallel: + matrix: + - PYTHON_VERSION: "3.6" + - PYTHON_VERSION: "3.7" + artifacts: + paths: + - reports/coverage pages: -- GitLab