Add timeout for tests and remove macos test envs (#1479)

This commit is contained in:
Li Jiang
2026-01-10 22:48:54 +08:00
committed by GitHub
parent d241e8de90
commit bb213e7ebd

View File

@@ -39,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
@@ -98,10 +98,12 @@ jobs:
run: |
pip cache purge
- name: Test with pytest
timeout-minutes: 120
if: matrix.python-version != '3.11'
run: |
pytest test/ --ignore=test/autogen --reruns 2 --reruns-delay 10
- name: Coverage
timeout-minutes: 120
if: matrix.python-version == '3.11'
run: |
pip install coverage