Skip to content

Commit 9a27644

Browse files
ci: enable timeout for pytest to prevent blockage (#2174)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 05dbe8e commit 9a27644

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

.github/workflows/backwards_compatibility.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101
python -c "from ansys.geometry.core.connection.validate import validate; validate()"
102102
103103
- name: Testing
104+
timeout-minutes: 20 # On Windows self-hosted runners, sometimes hangs...
104105
run: |
105106
.\.venv\Scripts\Activate.ps1
106107
pytest -v --backwards-compatibility=yes --backend-version=${{ matrix.backend-version }} -rf

.github/workflows/ci_cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ jobs:
264264

265265
- name: Testing
266266
if: env.SKIP_UNSTABLE == 'false'
267+
timeout-minutes: 20 # On Windows self-hosted runners, sometimes hangs...
267268
run: |
268269
.\.venv\Scripts\Activate.ps1
269270
pytest -v
@@ -781,6 +782,7 @@ jobs:
781782
python -c "from ansys.geometry.core.connection.validate import validate; validate()"
782783
783784
- name: Testing
785+
timeout-minutes: 20 # On Windows self-hosted runners, sometimes hangs...
784786
run: |
785787
.\.venv\Scripts\Activate.ps1
786788
pytest -v --use-existing-service=yes

.github/workflows/nightly_docker_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ jobs:
141141
python -c "from ansys.geometry.core.connection.validate import validate; validate()"
142142
143143
- name: Run PyAnsys Geometry tests
144+
timeout-minutes: 20 # On Windows self-hosted runners, sometimes hangs...
144145
run: |
145146
.\.venv\Scripts\Activate.ps1
146147
pytest -v
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Enable timeout for pytest to prevent blockage

0 commit comments

Comments
 (0)