diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb5f65c6e..09f85206c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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