From c9c6794977a73fe421457ff14ceb23a14fa11475 Mon Sep 17 00:00:00 2001 From: k204230 <bergemann@dkrz.de> Date: Tue, 21 Jun 2022 15:13:04 +0200 Subject: [PATCH] Tesing --- .gitlab-ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1605f49..3c99f16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,10 +57,10 @@ pages: - conda create -c conda-forge -q -p /tmp/test python=3.10 pip dask -y - /tmp/test/bin/python -m pip install -e .[test] script: - - coverage run -m pytest - - coverage report - - coverage html - - coverage xml + - /tmp/test/bin/coverage run -m pytest + - /tmp/test/bin/coverage report + - /tmp/test/bin/coverage html + - /tmp/test/bin/coverage xml coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' after_script: - mv htmlcov public @@ -69,6 +69,4 @@ pages: paths: - public/ reports: - coverage_report: - coverage_format: cobertura - path: coverage.xml + junit: coverage.xml -- GitLab