Skip to content

Commit

Permalink
Add CI for Python 3.11 and 3.12
Browse files Browse the repository at this point in the history
Had to update the setup-python version to allow a version of
cibuildwheel that supports python 3.12.
  • Loading branch information
AlexanderWells-diamond committed Apr 24, 2024
1 parent 11ba85f commit 714c5ab
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
python-version: "3.12"

- name: Install Python Dependencies
run: pip install flake8
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
python: [cp37, cp38, cp39, cp310]
python: [cp37, cp38, cp39, cp310, cp311, cp312]

include:
# Put coverage and results files in the project directory for mac
Expand Down Expand Up @@ -84,11 +84,10 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
python-version: "3.12"

- name: Install Python Dependencies
# Pin cibuildwheel due to https://github.com/pypa/cibuildwheel/issues/962
run: pip install build cibuildwheel>=2.3.1
run: pip install build cibuildwheel>=2.16.2

- name: Build Wheel
run: cibuildwheel --output-dir dist
Expand Down Expand Up @@ -131,7 +130,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
python: [cp37, cp38, cp39, cp310]
python: [cp37, cp38, cp39, cp310, cp311, cp312]

runs-on: ${{ matrix.os }}

Expand Down

0 comments on commit 714c5ab

Please sign in to comment.