ci: Run browser tests in chrome/firefox/edge on CI
This commit is contained in:
parent
35fb095aa2
commit
10c52ce706
|
@ -5,6 +5,7 @@ on:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
@ -87,12 +88,16 @@ jobs:
|
||||||
working-directory: web
|
working-directory: web
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run node-based tests
|
||||||
# MIKE: Don't run web tests on Windows because it's flaky for unknown reasons. :-(
|
|
||||||
if: runner.os == 'Linux'
|
|
||||||
working-directory: web
|
working-directory: web
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
|
- name: Run browser-based tests
|
||||||
|
# Don't run browser tests on Windows because it's flaky for unknown reasons. :-(
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
working-directory: web
|
||||||
|
run: npm run wdio -- --headless --chrome --firefox --edge
|
||||||
|
|
||||||
check-required:
|
check-required:
|
||||||
needs: changes
|
needs: changes
|
||||||
if: needs.changes.outputs.should_run == 'false'
|
if: needs.changes.outputs.should_run == 'false'
|
||||||
|
|
Loading…
Reference in New Issue