Skip to content

Commit

Permalink
CI: run tests also on macOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
larabr committed Oct 24, 2024
1 parent 1a65851 commit d4a1039
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,23 @@ on:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest

strategy:
fail-fast: false # if tests for one version fail, continue with the rest
matrix:
# run on all main platforms to test platform-specific code, if present
# (e.g. webkit's WebCrypto API implementation is different in macOS vs Linux)
runner: ['ubuntu-latest', 'macos-latest', 'windows-latest']
runs-on: ${{ matrix.runner }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3

- name: Install dependencies
run: npm ci

- run: npm run lint
- if: ${{ matrix.runner == 'ubuntu-latest' }}
run: npm run lint
- run: npm run test-type-definitions

- name: Install Chrome
Expand Down

0 comments on commit d4a1039

Please sign in to comment.