Skip to content

Commit

Permalink
Merge pull request #201 from neutrinoceros/tst/cp313
Browse files Browse the repository at this point in the history
TST: test against CPython 3.13 (GIL flavor)
  • Loading branch information
neutrinoceros authored Jun 18, 2024
2 parents 7532673 + 52997fa commit 758f6fa
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,35 +209,41 @@ jobs:
future:
if: ${{ github.event_name == 'schedule' || github.event_name == 'push' }}
name: py${{ matrix.python-version }}
runs-on: ubuntu-latest
name: future proofing
timeout-minutes: 20

steps:
- name: Checkout repo
uses: actions/checkout@v4
strategy:
fail-fast: false
matrix:
python-version:
- 3.13-dev

- name: Set up Python
uses: actions/setup-python@v5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12-dev
python-version: ${{ matrix.python-version }}

- name: Build
# install numpy from source until there are nightly wheels for 3.13
# at https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
run: |
python -m pip install --upgrade pip
python -m pip install --pre setuptools wheel Cython
python -m pip install --pre numpy \
--extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
--extra-index-url \
https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
python -m pip install . --no-build-isolation
- name: Install minimal test env
run: |
python -m pip install --pre pytest
- run: python -m pip list

- name: Tests
run: |
python -m pip list
pytest --color=yes
run: pytest --color=yes


create-issue:
Expand Down

0 comments on commit 758f6fa

Please sign in to comment.