Skip to content

Commit b847219

Browse files
authored
chore: Check compatibility with Python 3.11 release candidate 1 (#159)
* chore: Check compatibility with Python 3.11-beta.4 https://www.python.org/download/pre-releases * Avoid duplicate tests
1 parent 2ee3f88 commit b847219

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

.github/workflows/Python_tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
# TODO: Enable pytest --doctest-modules
33

44
name: Python_tests
5-
on: [push, pull_request]
5+
on:
6+
push:
7+
branches: [ main ]
8+
pull_request:
9+
branches: [ main ]
10+
workflow_dispatch:
611
jobs:
712
Python_tests:
813
runs-on: ${{ matrix.os }}
@@ -11,11 +16,11 @@ jobs:
1116
max-parallel: 8
1217
matrix:
1318
os: [macos-latest, ubuntu-latest] # , windows-latest]
14-
python-version: ["3.7", "3.8", "3.9", "3.10"]
19+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
1520
steps:
1621
- uses: actions/checkout@v3
1722
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v3
23+
uses: actions/setup-python@v4
1924
with:
2025
python-version: ${{ matrix.python-version }}
2126
- name: Install dependencies

.github/workflows/node-gyp.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: node-gyp integration
2-
3-
on: [push, pull_request]
4-
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
workflow_dispatch:
58
jobs:
6-
test:
9+
integration:
710
strategy:
811
fail-fast: false
912
matrix:
@@ -24,7 +27,7 @@ jobs:
2427
- uses: actions/setup-node@v3
2528
with:
2629
node-version: 14.x
27-
- uses: actions/setup-python@v3
30+
- uses: actions/setup-python@v4
2831
with:
2932
python-version: ${{ matrix.python }}
3033
- name: Install dependencies

.github/workflows/nodejs-windows.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Node.js Windows integration
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
49

510
jobs:
611
build-windows:

0 commit comments

Comments
 (0)