use test on ubuntu as gatekeeper

This commit is contained in:
Peter Bieringer
2026-01-22 06:56:47 +01:00
parent ae0882cc13
commit 2ac3d269c6

View File

@@ -3,11 +3,11 @@ on: [push, pull_request]
jobs:
test-python-latest:
test-ubuntu-latest-python-latest:
needs: lint
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
python-version: ['3.14']
runs-on: ${{ matrix.os }}
steps:
@@ -17,7 +17,24 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install Test dependencies
run: pip install tox
- name: Test with latest Python
- name: Test with latest Python on Ubuntu
run: tox -c pyproject.toml -e py
test-python-latest:
needs: test-ubuntu-latest-python-latest:
strategy:
matrix:
os: [macos-latest, windows-latest]
python-version: ['3.14']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Test dependencies
run: pip install tox
- name: Test with latest Python on other OS
run: tox -c pyproject.toml -e py
test: