diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62b3e2d..d323b30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" @@ -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 }} @@ -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: