Skip to content

Commit

Permalink
Use pyenv actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Oct 5, 2024
1 parent 33e3f0e commit e95f58f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.13"]
nogil: ["gil", "ft"]
python-version: ["3.13", "3.13t-dev"]
os: [macOS-latest, ubuntu-latest, windows-latest]

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

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

0 comments on commit e95f58f

Please sign in to comment.