Run driver tests on python 3.12

This commit is contained in:
Dan Smith 2024-04-11 14:40:40 -07:00 committed by Dan Smith
parent ef783cb14b
commit 75f95c3f1b
2 changed files with 24 additions and 1 deletions

View File

@ -4,6 +4,10 @@ inputs:
tox_target:
required: true
type: string
py_version:
required: false
type: string
default: '3'
runs:
using: "composite"
@ -13,7 +17,7 @@ runs:
run: |
sudo apt-get update
sudo apt-get install python3-pip python3-wxgtk4.0
sudo python3 -mpip install tox
sudo python${{ inputs.py_version }} -mpip install tox
- name: Run tox
shell: bash
run: |

View File

@ -40,6 +40,25 @@ jobs:
with:
tox_target: fast-driver
driver-next:
name: Driver tests (Python 3.12)
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install python 3.12
uses: actions/setup-python@v5
id: pyinst
with:
python-version: '3.12'
- run: "sudo ln -s ${{ steps.pyinst.outputs.python-path }} /usr/local/bin/python3.12"
- run: "echo $PATH; ls -l /usr/local/bin"
- name: Run tox
uses: ./.github/actions/py3-tox
with:
tox_target: fast-driver
py_version: '3.12'
matrix:
name: Create support matrix
runs-on: ubuntu-22.04