Skip to content

Commit

Permalink
Run fast tests against 3.13-dev
Browse files Browse the repository at this point in the history
The latest release of the cffi library fails to compile under 3.13, but
a pre-release (that is 3.13-compatible) is available.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Jun 9, 2024
1 parent a8763c5 commit 9c50bc9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/fast-built-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macos-12]
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]
include:
- os: ubuntu-latest
python_version: "pypy3.9"
Expand Down Expand Up @@ -41,7 +41,9 @@ jobs:
run: python setup.py develop

- name: Install test dependencies
run: pip install pytest cffi
env:
CFFI_DEPENDENCY: ${{ matrix.python_version == '3.13-dev' && 'cffi==1.17.0rc1' || 'cffi' }}
run: pip install pytest $CFFI_DEPENDENCY

- name: Run unittests
run: pytest -vv
Expand Down

0 comments on commit 9c50bc9

Please sign in to comment.