Skip to content

Commit bb213e7

Browse files
authored
Add timeout for tests and remove macos test envs (#1479)
1 parent d241e8d commit bb213e7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
os: [ubuntu-latest, windows-latest, macos-latest]
42+
os: [ubuntu-latest, windows-latest]
4343
python-version: ["3.10", "3.11", "3.12"]
4444
steps:
4545
- uses: actions/checkout@v4
@@ -98,10 +98,12 @@ jobs:
9898
run: |
9999
pip cache purge
100100
- name: Test with pytest
101+
timeout-minutes: 120
101102
if: matrix.python-version != '3.11'
102103
run: |
103104
pytest test/ --ignore=test/autogen --reruns 2 --reruns-delay 10
104105
- name: Coverage
106+
timeout-minutes: 120
105107
if: matrix.python-version == '3.11'
106108
run: |
107109
pip install coverage

0 commit comments

Comments
 (0)