@@ -18,11 +18,24 @@ jobs:
1818 - uses : actions/checkout@v4
1919 - run : pip install --user ruff
2020 - run : ruff --output-format=github --select="E,F,PLC,PLE,UP,W,YTT" --ignore="E721,PLC1901,S101,UP031" --target-version=py38 .
21+ Lint_JS :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Checkout Repository
25+ uses : actions/checkout@v4
26+ - name : Use Node.js 20.x
27+ uses : actions/setup-node@v3
28+ with :
29+ node-version : 20.x
30+ - name : Install Dependencies
31+ run : npm install --no-progress
32+ - name : Lint
33+ run : npm run lint
2134 Engines :
2235 runs-on : ubuntu-latest
2336 steps :
2437 - name : Checkout Repository
25- uses : actions/checkout@v3
38+ uses : actions/checkout@v4
2639 - name : Use Node.js 20.x
2740 uses : actions/setup-node@v3
2841 with :
@@ -41,10 +54,11 @@ jobs:
4154 fail-fast : false
4255 max-parallel : 15
4356 matrix :
44- node : [16.x, 18.x, 20.x ]
57+ os : [macos, ubuntu, windows ]
4558 python : ["3.8", "3.10", "3.12"]
46- os : [macos-latest, ubuntu-latest, windows-latest]
47- runs-on : ${{ matrix.os }}
59+ node : [16.x, 18.x, 20.x]
60+ name : ${{ matrix.os }} - ${{ matrix.python }} - ${{ matrix.node }}
61+ runs-on : ${{ matrix.os }}-latest
4862 steps :
4963 - name : Checkout Repository
5064 uses : actions/checkout@v4
6377 npm install --no-progress
6478 pip install pytest
6579 - name : Set Windows environment
66- if : startsWith( matrix.os, 'windows')
80+ if : matrix.os == 'windows'
6781 run : |
6882 echo 'GYP_MSVS_VERSION=2015' >> $Env:GITHUB_ENV
6983 echo 'GYP_MSVS_OVERRIDE_PATH=C:\\Dummy' >> $Env:GITHUB_ENV
7791 if : runner.os != 'Windows'
7892 shell : bash
7993 run : npm test --python="${pythonLocation}/python"
94+ env :
95+ FULL_TEST : ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}
8096 - name : Run tests (Windows)
8197 if : runner.os == 'Windows'
8298 shell : pwsh
8399 run : npm run test --python="${env:pythonLocation}\\python.exe"
100+ env :
101+ FULL_TEST : ${{ (matrix.node == '20.x' && matrix.python == '3.12') && '1' || '0' }}
0 commit comments