chore(workflows/CI): skip PhantomJS on MacOS, too

This commit is contained in:
Nico Rehwaldt 2021-01-28 13:42:41 +01:00 committed by fake-join[bot]
parent 92e92ab4c3
commit df49d5e14d
1 changed files with 2 additions and 7 deletions

View File

@ -31,20 +31,15 @@ jobs:
- 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
if: matrix.os == 'ubuntu-latest'
env:
COVERAGE: 1
TEST_BROWSERS: Firefox,PhantomJS,ChromeHeadless
if: matrix.os == 'ubuntu-latest'
run: xvfb-run npm run all
- name: Build
if: matrix.os != 'ubuntu-latest'
env:
TEST_BROWSERS: ChromeHeadless
if: matrix.os == 'windows-latest'
run: npm run all
- name: Upload Coverage
run: npx codecov