fix: skip PhantomJS and Firefox on Windows CI

* PhantomJS times out on test
* Firefox times out on test distro
This commit is contained in:
Philipp Fromme 2021-01-25 16:03:20 +01:00 committed by fake-join[bot]
parent 8a40658b21
commit 0da1938ea3
1 changed files with 10 additions and 5 deletions

View File

@ -30,17 +30,22 @@ jobs:
run: npm ci
- name: Wire dependencies
run: ./tasks/wiredeps_github
- name: Build
env:
TEST_BROWSERS: PhantomJS,ChromeHeadless
if: matrix.os == 'macos-latest'
run: npm run all
- name: Build
env:
COVERAGE: 1
TEST_BROWSERS: Firefox,PhantomJS,ChromeHeadless
if: matrix.os == 'ubuntu-latest'
run: xvfb-run npm run all
- name: Build
env:
TEST_BROWSERS: ChromeHeadless
if: matrix.os == 'windows-latest'
run: npm run all
- name: Upload Coverage
run: npx codecov
if: matrix.os == 'ubuntu-latest'
- name: Build
env:
TEST_BROWSERS: PhantomJS,ChromeHeadless
if: matrix.os != 'ubuntu-latest'
run: npm run all