@@ -11,34 +11,35 @@ jobs:
1111 matrix :
1212 os : [macos-latest, ubuntu-latest, windows-latest]
1313 python-version : ["3.10", "3.12", "3.14"]
14- exclude :
15- # Windows on Python 3.14 is blocked by nodejs/node#59983
14+ # exclude:
15+ # # Windows on Python 3.14 is blocked by nodejs/node#59983
16+ # - os: windows-latest
17+ # python-version: "3.14"
18+ include :
1619 - os : windows-latest
1720 python-version : " 3.14"
18- include :
19- - os : windows-latest # Windows on Python 3.13 instead of 3.14
20- python-version : " 3.13"
2121 - os : macos-15-intel # macOS on Intel
2222 python-version : " 3.14"
2323 - os : ubuntu-24.04-arm # Ubuntu on ARM
2424 python-version : " 3.14"
2525 - os : windows-11-arm # Windows on ARM
26- python-version : " 3.13 " # Windows on Python 3.13 instead of 3.14
26+ python-version : " 3.14 "
2727 runs-on : ${{ matrix.os }}
2828 steps :
2929 - name : Clone gyp-next
30- uses : actions/checkout@v5
30+ uses : actions/checkout@v6
3131 with :
3232 path : gyp-next
3333 - name : Clone nodejs/node-gyp
34- uses : actions/checkout@v5
34+ uses : actions/checkout@v6
3535 with :
3636 repository : nodejs/node-gyp
3737 path : node-gyp
3838 - uses : actions/setup-node@v6
3939 with :
4040 node-version : " lts/*"
41- - uses : actions/setup-python@v6
41+ - name : Use Python ${{ matrix.python-version }}
42+ uses : actions/setup-python@v6
4243 with :
4344 python-version : ${{ matrix.python-version }}
4445 allow-prereleases : true
5758 run : |
5859 rm -rf node-gyp/gyp
5960 cp -r gyp-next node-gyp/gyp
60- - name : Run tests (macOS or Linux)
61- if : runner.os != 'Windows'
62- run : |
63- cd node-gyp
64- npm test --python="${pythonLocation}/python"
65- - name : Run tests (Windows)
66- if : runner.os == 'Windows'
67- shell : pwsh
61+ - run : echo "env:pythonLocation=${env:pythonLocation}"
62+ # - run: env
63+ - name : Run tests
6864 run : |
6965 cd node-gyp
70- npm run test --python="${env:pythonLocation}\\python.exe"
66+ npm test
0 commit comments