diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3b97e4..d254d29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,7 +56,8 @@ tests: stage: test script: - apk add --no-cache libstdc++ - - coverage run --source matrix_alertbot -m pytest --junitxml=report.xml + - coverage run --source matrix_alertbot --parallel-mode -m pytest --junitxml=report.xml + - coverage report --precision 2 - coverage xml -o coverage.xml cache: policy: pull @@ -66,4 +67,5 @@ tests: coverage_format: cobertura path: coverage.xml junit: report.xml + coverage: '/^TOTAL\s+\d+\s+\d+\s+(\d+\%)$/' interruptible: true