Skip to content

Commit

Permalink
chore: Check compatibility with Python 3.11 release candidate 1 (#159)
Browse files Browse the repository at this point in the history
* chore: Check compatibility with Python 3.11-beta.4

https://www.python.org/download/pre-releases

* Avoid duplicate tests
  • Loading branch information
cclauss authored Sep 4, 2022
1 parent 2ee3f88 commit b847219
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/Python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
# TODO: Enable pytest --doctest-modules

name: Python_tests
on: [push, pull_request]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
Python_tests:
runs-on: ${{ matrix.os }}
Expand All @@ -11,11 +16,11 @@ jobs:
max-parallel: 8
matrix:
os: [macos-latest, ubuntu-latest] # , windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/node-gyp.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: node-gyp integration

on: [push, pull_request]

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
integration:
strategy:
fail-fast: false
matrix:
Expand All @@ -24,7 +27,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 14.x
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/nodejs-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Node.js Windows integration

on: [push, pull_request]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build-windows:
Expand Down

0 comments on commit b847219

Please sign in to comment.