Skip to content

Commit 5d90624

Browse files
committed
ci: fix coverage regex for re2
1 parent 5ef2250 commit 5d90624

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
@@ -89,7 +89,7 @@ check:test:
8989
coverage_report:
9090
coverage_format: cobertura
9191
path: ./tmp/coverage/cobertura-coverage.xml
92-
coverage: 'All files[^|]*\|[^|]*\s+([\d\.]+)'
92+
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
9393
rules:
9494
# Runs on staging commits and ignores version commits
9595
- if: $CI_COMMIT_BRANCH =~ /^feature.*$/ && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/
@@ -145,7 +145,7 @@ build:linux:
145145
paths:
146146
# Only the build:linux preserves the dist
147147
- ./dist
148-
coverage: 'All files[^|]*\|[^|]*\s+([\d\.]+)'
148+
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
149149
rules:
150150
# Runs on staging commits and ignores version commits
151151
- if: $CI_COMMIT_BRANCH == 'staging' && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/

0 commit comments

Comments
 (0)