Skip to content

Commit

Permalink
ci: only run tests on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileRolley committed Jun 14, 2024
1 parent b831fcd commit 54ddd1d
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ on:

jobs:
main:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -25,13 +22,9 @@ jobs:
- name: Build package
run: yarn compile

- name: Test the package (Linux)
- name: Test the package
run: xvfb-run -a npm test
if: runner.os == 'Linux'

- name: Test the package (Others)
run: yarn test
if: runner.os != 'Linux'

- name: Check file formatting
run: yarn format:check

0 comments on commit 54ddd1d

Please sign in to comment.