use test on ubuntu as gatekeeper
This commit is contained in:
23
.github/workflows/test.yml
vendored
23
.github/workflows/test.yml
vendored
@@ -3,11 +3,11 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
test-python-latest:
|
test-ubuntu-latest-python-latest:
|
||||||
needs: lint
|
needs: lint
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ['3.14']
|
python-version: ['3.14']
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -17,7 +17,24 @@ jobs:
|
|||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install Test dependencies
|
- name: Install Test dependencies
|
||||||
run: pip install tox
|
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
|
run: tox -c pyproject.toml -e py
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user