From 24e100c0c752bd88afb045e7ce4d6cda52bdc014 Mon Sep 17 00:00:00 2001 From: Bert Palm <bert.palm@ufz.de> Date: Fri, 12 Mar 2021 16:23:33 +0100 Subject: [PATCH] new CI --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6de191455..eb0616e66 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,22 +38,28 @@ testLib: # fuzzy testing saqc fuzzy: + allow_failure: true stage: test script: - pytest tests/fuzzy - allow_failure: true # make (visual) coverage in gitlab merge request diff's coverage: + allow_failure: true stage: test + script: - pip install pytest-cov coverage - pytest --cov=saqc tests/core tests/flagger tests/funcs + after_script: - coverage xml + # regex to find the coverage percentage in the job output coverage: '/^TOTAL.+?(\d+\%)$/' + artifacts: + when: always reports: cobertura: coverage.xml -- GitLab