Skip to content

Commit

Permalink
Build for and test on Python 3.13 in CI, and update other CI and RTD …
Browse files Browse the repository at this point in the history
…Python versions
  • Loading branch information
YannickJadoul committed Oct 11, 2024
1 parent 1e9169f commit 77a5942
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 15 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
- runs-on: ubuntu-latest
python: '3.11'
arch: x64
- runs-on: ubuntu-latest
python: '3.12'
arch: x64
run-praat-tests: true
name-extra: ' (with Praat tests)'
- runs-on: ubuntu-latest
python: '3.12'
python: '3.13'
arch: x64
run-praat-tests: true
name-extra: ' (with Praat tests)'
Expand All @@ -53,18 +56,18 @@ jobs:
name-extra: ' (with Praat tests)'

- runs-on: ubuntu-24.04
python: '3.11'
python: '3.12'
arch: x64
gcc: 13
name-extra: ' (GCC 13)'
- runs-on: ubuntu-24.04
python: '3.11'
python: '3.12'
arch: x64
clang: 18
name-extra: ' (Clang 18)'

- runs-on: ubuntu-latest
python: '3.11'
python: '3.12'
arch: x64
release: true
name-extra: ' (Release)'
Expand All @@ -73,15 +76,17 @@ jobs:
python: '3.8'
arch: x64
- runs-on: macos-latest
python: '3.11'
python: '3.12'
arch: x64
run-praat-tests: true
name-extra: ' (with Praat tests)'
- runs-on: macos-latest
python: '3.12'
python: '3.13'
arch: x64
run-praat-tests: true
name-extra: ' (with Praat tests)'
- runs-on: macos-latest
python: '3.11'
python: '3.12'
arch: x64
release: true
name-extra: ' (Release)'
Expand All @@ -93,23 +98,25 @@ jobs:
python: '3.8'
arch: x64
- runs-on: windows-latest
python: '3.11'
python: '3.12'
arch: x64
run-praat-tests: true
name-extra: ' (with Praat tests)'
- runs-on: windows-latest
python: '3.12'
python: '3.13'
arch: x64
run-praat-tests: true
name-extra: ' (with Praat tests)'
- runs-on: windows-latest
python: '3.8'
arch: x86
name-extra: ' (32-bit)'
- runs-on: windows-latest
python: '3.11'
python: '3.12'
arch: x86
name-extra: ' (32-bit)'
- runs-on: windows-latest
python: '3.11'
python: '3.12'
arch: x64
release: true
name-extra: ' (Release)'
Expand Down Expand Up @@ -221,7 +228,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.12'

- name: Setup CMake
uses: jwlawson/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
if: startsWith(github.ref_name, 'docs')
shell: bash
run: |
echo "CIBW_BUILD=cp311-manylinux_x86_64" >> $GITHUB_ENV
echo "CIBW_BUILD=cp312-manylinux_x86_64" >> $GITHUB_ENV
- name: Run cibuildwheel
if: startsWith(github.ref_name, 'docs') != true || matrix.cibw-arch == 'manylinux_x86_64'
Expand All @@ -151,7 +151,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: rtd-wheel
path: wheelhouse/praat_parselmouth-*-cp311-cp311-*manylinux2014_x86_64*.whl
path: wheelhouse/praat_parselmouth-*-cp312-cp312-*manylinux2014_x86_64*.whl
if-no-files-found: error

trigger_rtd:
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ formats: all
build:
os: ubuntu-20.04
tools:
python: '3.11'
python: '3.12'
sphinx:
configuration: docs/conf.py
python:
Expand Down

0 comments on commit 77a5942

Please sign in to comment.