-
-
Notifications
You must be signed in to change notification settings - Fork 8
47 lines (41 loc) · 1.15 KB
/
test-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Test release
on:
release:
types: [published]
workflow_dispatch:
env:
BUILTIN_PYTHON_VERSION: 3.12.2
jobs:
test_published:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- windows-2019
- windows-2022
- macos-13
- macos-13
- macos-14
node-version: [16.x, 18.x, 20.x, 22.x]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- platform: ubuntu-24.04
python-version: 8
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp install
- run: node ./scripts/pympip install --upgrade pip
- run: node ./scripts/pympip install -r test/requirements.txt
- name: Run unit tests
run: npm test