Skip to content

Commit cef03c5

Browse files
committed
Add browser compat tests to CI
1 parent bf5083e commit cef03c5

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.circleci/config.yml

Lines changed: 24 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/node:16.1.0
186+
steps:
187+
- checkout
188+
- run:
189+
name: Get and post build sizes to GitHub PR
190+
command: |
191+
npm --prefix ./benchmarks install
192+
npm --prefix ./benchmarks link:glean
193+
npm --prefix ./benchmarks 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 link:glean
205+
npm --prefix ./benchmarks size:report
192206
193207
# via https://circleci.com/blog/deploying-documentation-to-github-pages-with-continuous-integration/
194208
docs-deploy:
@@ -284,11 +298,19 @@ 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+
requires:
309+
- hold
310+
# only:
311+
# - main
312+
# - release
313+
# - /^release-.*/
292314
- docs-deploy:
293315
context: data-eng-gleanjs-gh
294316
filters:

0 commit comments

Comments
 (0)