Skip to content

Commit

Permalink
ci: add Python 3.13 and 3.13t testing (#76)
Browse files Browse the repository at this point in the history
* ci: add Python 3.13 and 3.13t testing

* skip freethreaded + abi3 combination
  • Loading branch information
davidhewitt authored Nov 22, 2024
1 parent b674292 commit bc56c21
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,17 @@ jobs:
name: python${{ matrix.python-version }} ${{ matrix.os }} rust-${{ matrix.rust}}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # If one platform fails, allow the rest to keep testing.
fail-fast: false # If one platform fails, allow the rest to keep testing.
matrix:
python-architecture: ["x64"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [
"macos-13",
"ubuntu-latest",
"windows-latest",
]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.13t"]
os: ["macos-13", "ubuntu-latest", "windows-latest"]
rust: [stable]
include:
- python-version: "3.12"
- python-version: "3.13"
os: "ubuntu-latest"
rust: "1.63"
- python-version: "3.12"
- python-version: "3.13"
python-architecture: "arm64"
os: "macos-latest"
rust: "stable"
Expand All @@ -57,7 +53,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: Quansight-Labs/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.python-python-architecture }}
Expand All @@ -73,7 +69,9 @@ jobs:
- name: Test
run: cargo test --verbose

- name: Test (abi3)
# https://github.com/PyO3/pyo3/issues/4709 - can't use abi3 w. freethreaded build
- if: ${{ !endsWith(matrix.python-version, 't') }}
name: Test (abi3)
run: cargo test --verbose --features pyo3/abi3-py37

env:
Expand Down

0 comments on commit bc56c21

Please sign in to comment.