From 0d3a1b120cab6d827e7b6e08c53c858b41fe9fb3 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 27 Mar 2021 10:55:22 +0100 Subject: [PATCH] fail with error for test coverage below 90% currently, 94% of the statements in the python library are tested --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 62acc4b9c..c322b57d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,7 +96,8 @@ processing: stage: python script: - cd $DAMASKROOT/python - - pytest --basetemp=${TESTROOT}/python -v + - pytest --basetemp=${TESTROOT}/python -v --cov --cov-report=term + - coverage report --fail-under=90 except: - master - release @@ -108,7 +109,6 @@ preprocessing_deprecated: except: - master - release - - release ################################################################################################### compile_grid_Intel: