chirp/.github/workflows/py3-test.yaml
Dan Smith 2cd274dae9 repeaterbook: Move to cached/proxied service
This moves CHIRP to use a proxy for repeaterbook at chirpmyradio.com
to reduce load on the repeaterbook API and improve performance for
our users.

Also, don't run the network tests in CI as they're less important
now and also their failing probably has nothing to do with the patch
being submitted.
2026-03-15 16:46:19 -07:00

77 lines
1.9 KiB
YAML

name: Tests
on:
pull_request:
jobs:
style:
name: Style checks
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tox
uses: ./.github/actions/py3-tox
with:
tox_target: style
unit:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tox
uses: ./.github/actions/py3-tox
with:
tox_target: unit
tox_args: -k "not network"
- name: Archive results
uses: actions/upload-artifact@v4
with:
name: unit_report
path: unit_report.html
driver:
name: Driver tests (Python 3.10)
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tox
uses: ./.github/actions/py3-tox
with:
tox_target: fast-driver
driver-next:
name: Driver tests (Python 3.12)
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- 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
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tox
uses: ./.github/actions/py3-tox
with:
tox_target: makesupported
- name: Archive support matrix
uses: actions/upload-artifact@v4
with:
name: support-matrix
path: model_support.html