From 10516c049d63b19c223540c6897857475c919a76 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 8 Feb 2025 09:29:18 +0100 Subject: [PATCH 1/5] Add tests for Ubuntu on ARM, macOS on Intel and Windows 2025 On macOS, test on the current version of Python to verify there are no distutils issues. --- .github/workflows/ci.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6574b4f..a27ec9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,11 +7,15 @@ on: jobs: tests-linux: - runs-on: ubuntu-latest strategy: fail-fast: false matrix: + os: [ubuntu-latest] node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x] + include: + - os: ubuntu-24.04-arm + node-version: 22.x + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 with: @@ -37,11 +41,15 @@ jobs: - name: Run tests run: npm test tests-macos: - runs-on: macos-latest strategy: fail-fast: false matrix: + os: [macos-latest] node-version: [16.x, 18.x, 20.x, 22.x] + include: + - os: macos-13 + node-version: 22.x + runs-on: ${{ matrix.os }} env: PIP_DISABLE_PIP_VERSION_CHECK: 1 steps: @@ -52,10 +60,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - name: Install Python 3.10 + - name: Install Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: 3.13 - name: Check Node.js version run: node -pe process.versions - name: Check npm version @@ -65,11 +73,15 @@ jobs: - name: Run tests run: npm test tests-windows: - runs-on: windows-2019 strategy: fail-fast: false matrix: + os: [windows-2019] node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x] + include: + - os: windows-2025 + node-version: 22.x + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 with: From 6df669c898ccddb13d9d13ac5f7ea0a8f076a4c2 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 26 Feb 2025 15:53:58 +0100 Subject: [PATCH 2/5] macOS-latest, Node.js v16.x fails on Python 3.13 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a27ec9d..95f54cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,9 @@ jobs: include: - os: macos-13 node-version: 22.x + exclude: # Fails on Python 3.13. + - os: macos-latest + node-version: 16.x runs-on: ${{ matrix.os }} env: PIP_DISABLE_PIP_VERSION_CHECK: 1 @@ -63,7 +66,7 @@ jobs: - name: Install Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.13 + python-version: '3.13' - name: Check Node.js version run: node -pe process.versions - name: Check npm version From fef63ebae01c895b2d610b6bae9ce82361c4b401 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 26 Feb 2025 16:20:24 +0100 Subject: [PATCH 3/5] Update ci.yml --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95f54cc..c63494e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,13 +45,10 @@ jobs: fail-fast: false matrix: os: [macos-latest] - node-version: [16.x, 18.x, 20.x, 22.x] + node-version: [18.x, 20.x, 22.x] include: - os: macos-13 node-version: 22.x - exclude: # Fails on Python 3.13. - - os: macos-latest - node-version: 16.x runs-on: ${{ matrix.os }} env: PIP_DISABLE_PIP_VERSION_CHECK: 1 From bbbdc1ca41f344019bacb24e8d5c2e5e677f3907 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 26 Feb 2025 20:07:41 +0100 Subject: [PATCH 4/5] Add python-version to the macOS matrix --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c63494e..14fd194 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,9 +46,14 @@ jobs: matrix: os: [macos-latest] node-version: [18.x, 20.x, 22.x] + python-version: ['3.13'] include: + - os: macos-latest + node-version: 16.x + python-version: '3.10' - os: macos-13 node-version: 22.x + python-version: '3.13' runs-on: ${{ matrix.os }} env: PIP_DISABLE_PIP_VERSION_CHECK: 1 @@ -63,7 +68,7 @@ jobs: - name: Install Python 3.13 uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: ${{ matrix.python-version }} - name: Check Node.js version run: node -pe process.versions - name: Check npm version From 3b9a94c8de0543fdf4615f49ffba6ce1779ee174 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 1 Dec 2025 10:29:58 +0100 Subject: [PATCH 5/5] GitHub Actions will drop `macos-13` in 3 days --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14fd194..ec86b65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: - os: macos-latest node-version: 16.x python-version: '3.10' - - os: macos-13 + - os: macos-15-intel node-version: 22.x python-version: '3.13' runs-on: ${{ matrix.os }}