mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 10:37:15 +00:00
Run driver tests on python 3.12
This commit is contained in:
parent
ef783cb14b
commit
75f95c3f1b
6
.github/actions/py3-tox/action.yaml
vendored
6
.github/actions/py3-tox/action.yaml
vendored
@ -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: |
|
||||
|
19
.github/workflows/py3-test.yaml
vendored
19
.github/workflows/py3-test.yaml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user