File tree Expand file tree Collapse file tree
.vortex/installer/tests/Fixtures/handler_process
_baseline/.github/workflows
ciprovider_circleci/.circleci
deploy_types_all_circleci/.circleci
deploy_types_none_circleci/.circleci
deps_updates_provider_ci_circleci/.circleci
migration_disabled_circleci/.circleci
migration_enabled_circleci/.circleci
timezone_circleci/.circleci
tools_groups_no_be_lint_circleci/.circleci
tools_groups_no_be_tests/.github/workflows
tools_no_behat_circleci/.circleci
tools_no_phpcs_circleci/.circleci
tools_no_phpmd_circleci/.circleci
tools_no_phpstan_circleci/.circleci
tools_no_phpunit/.github/workflows
tools_no_rector_circleci/.circleci
tools_none/.github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ jobs:
414414 name : Check code coverage threshold
415415 command : |
416416 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
417- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
417+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
418418 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
419419 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
420420 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ jobs:
396396 - name : Check code coverage threshold
397397 if : ${{ matrix.instance == 0 || strategy.job-total == 1 }}
398398 run : |
399- RATE=$(grep -o 'line-rate="[0-9.]*"' .logs/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
399+ RATE=$(grep -om1 'line-rate="[0-9.]*"' .logs/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
400400 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
401401 echo "Coverage: $PERCENT% (threshold: $VORTEX_CI_CODE_COVERAGE_THRESHOLD%)" | tee -a "$GITHUB_STEP_SUMMARY"
402402 if [ "${PERCENT//./}" -lt "$((VORTEX_CI_CODE_COVERAGE_THRESHOLD*100))" ]; then
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ jobs:
350350 - name : Check code coverage threshold
351351 if : ${{ matrix.instance == 0 || strategy.job-total == 1 }}
352352 run : |
353- RATE=$(grep -o 'line-rate="[0-9.]*"' .logs/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
353+ RATE=$(grep -om1 'line-rate="[0-9.]*"' .logs/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
354354 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
355355 echo "Coverage: $PERCENT% (threshold: $VORTEX_CI_CODE_COVERAGE_THRESHOLD%)" | tee -a "$GITHUB_STEP_SUMMARY"
356356 if [ "${PERCENT//./}" -lt "$((VORTEX_CI_CODE_COVERAGE_THRESHOLD*100))" ]; then
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ jobs:
369369 name : Check code coverage threshold
370370 command : |
371371 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
372- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
372+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
373373 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
374374 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
375375 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ jobs:
369369 name : Check code coverage threshold
370370 command : |
371371 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
372- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
372+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
373373 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
374374 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
375375 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ jobs:
369369 name : Check code coverage threshold
370370 command : |
371371 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
372- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
372+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
373373 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
374374 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
375375 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ jobs:
369369 name : Check code coverage threshold
370370 command : |
371371 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
372- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
372+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
373373 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
374374 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
375375 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ jobs:
369369 name : Check code coverage threshold
370370 command : |
371371 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
372- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
372+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
373373 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
374374 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
375375 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ jobs:
378378 name : Check code coverage threshold
379379 command : |
380380 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
381- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
381+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
382382 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
383383 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
384384 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ jobs:
369369 name : Check code coverage threshold
370370 command : |
371371 [ "${CIRCLE_NODE_TOTAL:-1}" -gt 1 ] && [ "${CIRCLE_NODE_INDEX:-0}" -ne 0 ] && exit 0
372- RATE=$(grep -o 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | head -1 | tr -cd '0-9.')
372+ RATE=$(grep -om1 'line-rate="[0-9.]*"' /tmp/artifacts/coverage/phpunit/cobertura.xml | tr -cd '0-9.')
373373 PERCENT=$(awk "BEGIN {printf \"%.2f\", $RATE*100}")
374374 echo "Coverage: $PERCENT% (threshold: ${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}%)"
375375 if [ "${PERCENT//./}" -lt "$((${VORTEX_CI_CODE_COVERAGE_THRESHOLD:-90}*100))" ]; then
You can’t perform that action at this time.
0 commit comments