Skip to content

Commit

Permalink
chore: CI will run test:xs, but failures won't block PRs
Browse files Browse the repository at this point in the history
closes #2647
  • Loading branch information
warner committed Mar 15, 2021
1 parent b9c1a69 commit 733ef60
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test-all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,3 +402,41 @@ jobs:
run: cd packages/zoe && yarn test
env:
ESM_DISABLE_CACHE: true

test-xs:
continue-on-error: true # XS failures won't block CI
# BEGIN-TEST-BOILERPLATE
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12.14.1', '12.x', '14.x']
steps:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# END-TEST-BOILERPLATE
# BEGIN-RESTORE-BOILERPLATE
- name: restore built files
id: built
uses: actions/cache@v1
with:
path: .
key: ${{ runner.os }}-${{ matrix.node-version }}-built-${{ github.sha }}
- uses: actions/checkout@v1
with:
submodules: 'true'
if: steps.built.outputs.cache-hit != 'true'
- name: yarn install
run: yarn install
if: steps.built.outputs.cache-hit != 'true'
- name: yarn build
run: yarn build
if: steps.built.outputs.cache-hit != 'true'
# END-RESTORE-BOILERPLATE

- name: yarn test (xs)
timeout-minutes: 20
run: yarn test:xs
env:
ESM_DISABLE_CACHE: true

0 comments on commit 733ef60

Please sign in to comment.