Skip to content

Commit 7c9a668

Browse files
committed
ci: enable benching
1 parent 182a710 commit 7c9a668

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.gitlab-ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ build:linux:
140140
- >
141141
nix-shell --arg ci true --run $'
142142
npm test -- --ci --coverage;
143+
npm run bench;
143144
'
144145
artifacts:
145146
when: always
@@ -149,6 +150,7 @@ build:linux:
149150
coverage_report:
150151
coverage_format: cobertura
151152
path: ./tmp/coverage/cobertura-coverage.xml
153+
metrics: ./benches/results/metrics.txt
152154
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
153155
rules:
154156
# Runs on staging commits and ignores version commits
@@ -169,6 +171,7 @@ build:windows:
169171
- npm install --ignore-scripts
170172
- $env:Path = "$(npm root)\.bin;" + $env:Path
171173
- npm test -- --ci --coverage
174+
- npm run bench
172175
artifacts:
173176
when: always
174177
reports:
@@ -177,6 +180,7 @@ build:windows:
177180
coverage_report:
178181
coverage_format: cobertura
179182
path: ./tmp/coverage/cobertura-coverage.xml
183+
metrics: ./benches/results/metrics.txt
180184
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
181185
rules:
182186
# Runs on staging commits and ignores version commits
@@ -197,6 +201,7 @@ build:macos:
197201
- npm install --ignore-scripts
198202
- export PATH="$(npm root)/.bin:$PATH"
199203
- npm test -- --ci --coverage
204+
- npm run bench
200205
artifacts:
201206
when: always
202207
reports:
@@ -205,6 +210,7 @@ build:macos:
205210
coverage_report:
206211
coverage_format: cobertura
207212
path: ./tmp/coverage/cobertura-coverage.xml
213+
metrics: ./benches/results/metrics.txt
208214
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
209215
rules:
210216
# Runs on staging commits and ignores version commits

0 commit comments

Comments
 (0)