Skip to content

Commit

Permalink
Exclude firefox-headless on macos
Browse files Browse the repository at this point in the history
I’ll open another issue for fixing this. As for now, this PR adds testing that is currently passing.
  • Loading branch information
jasongrout committed Nov 4, 2021
1 parent 168a650 commit 7b938ab
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
test: [chrome-headless, firefox-headless]
browser: [chrome-headless, firefox-headless]
exclude:
# macos and firefox-headless seems to consistently fail.
- os: macos-latest
browser: firefox-headless
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -39,7 +43,7 @@ jobs:
yarn
- name: Check linters
if: ${{ matrix.os == 'ubuntu-latest' && matrix.test == 'firefox-headless'}}
if: ${{ matrix.os == 'ubuntu-latest' && matrix.browser == 'firefox-headless'}}
shell: bash
run: |
set -eux
Expand All @@ -54,25 +58,25 @@ jobs:
- name: Run Tests
run: |
yarn run test:${{ matrix.test }}
yarn run test:${{ matrix.browser }}
- name: Test Examples
if: ${{ matrix.os == 'ubuntu-latest' && matrix.test == 'firefox-headless'}}
if: ${{ matrix.os == 'ubuntu-latest' && matrix.browser == 'firefox-headless'}}
run: |
set -eux
yarn minimize
yarn build:examples
yarn test:examples
- name: Build Docs
if: ${{ matrix.os == 'ubuntu-latest' && matrix.test == 'firefox-headless'}}
if: ${{ matrix.os == 'ubuntu-latest' && matrix.browser == 'firefox-headless'}}
run: |
set -eux
yarn clean
yarn docs
- name: Publish with Verdaccio
if: ${{ matrix.os == 'ubuntu-latest' && matrix.test == 'firefox-headless'}}
if: ${{ matrix.os == 'ubuntu-latest' && matrix.browser == 'firefox-headless'}}
run: |
set -eux
npm install -g verdaccio
Expand Down

0 comments on commit 7b938ab

Please sign in to comment.