diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd217d3..10ee3b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,7 +73,7 @@ pest: script: - rm -f "$JUNIT_REPORT" "$TEXT_REPORT" "$COVERAGE_REPORT" - touch "$TEXT_REPORT" - - bash -c 'composer run-script test:coverage 2>&1 | tee "$TEXT_REPORT"; status=${PIPESTATUS[0]}; exit $status' + - bash -c 'composer run-script test:coverage -- --min=85 2>&1 | tee "$TEXT_REPORT"; status=${PIPESTATUS[0]}; exit $status' - cat "$TEXT_REPORT" - if [ -f "$COVERAGE_REPORT" ]; then echo "Coverage report generated $COVERAGE_REPORT"; else echo "No coverage report found"; fi artifacts: