Skip to content

Commit bc47529

Browse files
committed
Add browser compat smoke tests to CI
EXTRA: - Fix check-size script - Fix release branches regexes
1 parent 6fc7efa commit bc47529

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.circleci/config.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,18 @@ jobs:
180180
qmake -r
181181
QML_IMPORT_TRACE=1 xvfb-run make check
182182
183+
browser-compat-smoke-tests:
184+
docker:
185+
- image: cimg/python:3.9.4-node
186+
steps:
187+
- checkout
188+
- run:
189+
name: Run browser comapt smoke tests
190+
command: |
191+
npm --prefix ./benchmarks install
192+
npm --prefix ./benchmarks run link:glean
193+
npm --prefix ./benchmarks run compat:test:browserstack
194+
183195
check-size:
184196
docker:
185197
- image: cimg/node:16.1.0
@@ -188,7 +200,9 @@ jobs:
188200
- run:
189201
name: Get and post build sizes to GitHub PR
190202
command: |
191-
./benchmarks/run.sh
203+
npm --prefix ./benchmarks install
204+
npm --prefix ./benchmarks run link:glean
205+
npm --prefix ./benchmarks run size:report
192206
193207
# via https://circleci.com/blog/deploying-documentation-to-github-pages-with-continuous-integration/
194208
docs-deploy:
@@ -284,11 +298,17 @@ workflows:
284298
ignore:
285299
- main
286300
- release
287-
- /^release-*/
301+
- /^release-.*/
288302
- check-size:
289303
context: data-eng-gleanjs-gh
290304
requires:
291305
- hold
306+
- browser-compat-smoke-tests:
307+
context: data-eng-gleanjs-gh
308+
only:
309+
- main
310+
- release
311+
- /^release-.*/
292312
- docs-deploy:
293313
context: data-eng-gleanjs-gh
294314
filters:

0 commit comments

Comments
 (0)