Skip to content

Commit

Permalink
Enable windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Jan 3, 2025
1 parent 93b9ddc commit e42d11f
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,18 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Install Python dependencies
if: matrix.os == 'macos-latest'
run: python -m pip install setuptools

- name: Install latest node-gyp
if: matrix.os == 'macos-latest'
run: npm i -g node-gyp

- name: Install dependencies
if: |
!(matrix.node == 22 && matrix.os == 'windows-latest')
!(matrix.node == 16 && matrix.os == 'macos-latest')
run: npm install

- name: Build
if: |
!(matrix.node == 22 && matrix.os == 'windows-latest')
!(matrix.node == 16 && matrix.os == 'macos-latest')
run: npm run build

- name: Run tests
if: |
!(matrix.node == 22 && matrix.os == 'windows-latest')
!(matrix.node == 16 && matrix.os == 'macos-latest')
run: npm test

0 comments on commit e42d11f

Please sign in to comment.