Skip to content

Avoid uncaught exception in 'to satisfy' when the diff is only in pro… #369

Avoid uncaught exception in 'to satisfy' when the diff is only in pro…

Avoid uncaught exception in 'to satisfy' when the diff is only in pro… #369

Workflow file for this run

name: Tests
'on':
push:
pull_request:
env:
BROWSER_STACK_ACCESS_KEY: '${{ secrets.BROWSER_STACK_ACCESS_KEY }}'
BROWSER_STACK_USERNAME: '${{ secrets.BROWSER_STACK_USERNAME }}'
jobs:
test:
runs-on: ubuntu-20.04
name: Node ${{ matrix.node }}
strategy:
matrix:
node:
- '14'
- '16'
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: make test
test-targets:
runs-on: ubuntu-20.04
name: ${{ matrix.targets.name }}
strategy:
matrix:
targets:
- name: 'Lint'
target: 'lint'
- target: 'coverage'
name: 'Coverage'
- target: 'test-jest'
name: 'Jest'
- target: 'test-jasmine'
name: 'Jasmine'
- target: 'test-plugins'
name: 'Plugins'
- target: 'test-browserstack-ie11'
name: 'Browser - IE11'
- target: 'test-deno'
name: 'Deno'
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '14'
- run: npm install
- run: make ${{ matrix.targets.target }}
- name: Upload coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.targets.target == 'coverage' }}