Skip to content

Commit

Permalink
Install python setup tools for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi committed Jan 3, 2025
1 parent 6d3cf02 commit c46195b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,23 @@ 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 dependencies
if: |
!((matrix.node == 16 && matrix.os == 'macos-latest') || (matrix.node == 22 && matrix.os == 'windows-latest'))
!(matrix.node == 22 && matrix.os == 'windows-latest')
run: npm install

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

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

0 comments on commit c46195b

Please sign in to comment.