Skip to content

Commit 9cf0c76

Browse files
committed
Adjust coverage patterns for cobertura v3
1 parent 3c23716 commit 9cf0c76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ rspec:
7070
echo "Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/$CI_PIPELINE_ID/test_report"
7171
grep 'Finished in ' output
7272
grep -E '[[:digit:]]+ examples, ' output
73-
grep -o -E '[[:digit:]]+ / [[:digit:]]+ LOC \(.*\) covered.' output
73+
grep -m 1 -E 'Line Coverage:' output
7474
grep 'Time spent in factories' output
7575
echo -e "\e[0Ksection_end:`date +%s`:glpa_summary\r\e[0K"
7676
exit $exit_code
77-
coverage: '/LOC \((\d+\.\d+%)\) covered.$/'
77+
coverage: '/Line Coverage:\s\d+\.\d+%/'
7878
artifacts:
7979
expire_in: 7 days
8080
paths:

0 commit comments

Comments
 (0)