Skip to content

Commit

Permalink
Add Python 3.12 to our unit and functional tests
Browse files Browse the repository at this point in the history
To prepare SDG for supporting Python 3.12, this adds Python 3.12 to our
unit and functional testing matrix alongside our Python 3.11 and 3.10
tests.

This is NOT running the `ilab` end-to-end workflow with Python 3.12, as
InstructLab does not yet support Python 3.11.

Co-authored-by: Fabien Dupont <[email protected]>
Signed-off-by: Ben Browning <[email protected]>
  • Loading branch information
fabiendupont authored and bbrowning committed Jan 29, 2025
1 parent 9d9b1a8 commit dd5105a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,14 @@ jobs:
python:
- "3.10"
- "3.11"
- "3.12"
platform:
- "ubuntu-latest"
include:
- python: "3.11"
platform: "macos-latest"
- python: "3.12"
platform: "macos-latest"
steps:
- name: "Harden Runner"
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@ commands =

[gh]
python =
3.12 = py312-{unitcov, functional}
3.11 = py311-{unitcov, functional}
3.10 = py310-{unitcov, functional}

0 comments on commit dd5105a

Please sign in to comment.