Skip to content

Commit

Permalink
Use deadsnakes to get nogil python, ignore lint failure on ft builds
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Oct 5, 2024
1 parent 8e71346 commit 33e3f0e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.13"]
nogil: ["gil", "ft"]
os: [macOS-latest, ubuntu-latest, windows-latest]

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: deadsnakes/action@v3.2.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
nogil: ${{ matrix.nogil == 'ft' }}
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
Expand All @@ -41,15 +42,16 @@ jobs:
run: make test
- name: Lint
run: make lint
continue-on-error: ${{ matrix.nogil == 'ft' }} # pyo3 ¯\_(ツ)_/¯

build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: deadsnakes/action@v3.2.0
with:
python-version: '3.12'
python-version: '3.13'
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
Expand Down

0 comments on commit 33e3f0e

Please sign in to comment.