Skip to content

Commit

Permalink
Extend timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
iAndriy committed Dec 10, 2023
1 parent 69384ae commit 896e350
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ jobs:
- { python-version: "3.9", tox-env: type-checking }
- { python-version: "3.10", tox-env: type-checking }
- { python-version: "3.11", tox-env: type-checking }
- { python-version: "3.8", tox-env: py38, max-attempts: 3 }
- { python-version: "3.8", tox-env: py38-no-ext, max-attempts: 3 }
- { python-version: "3.8", tox-env: py38, max-attempts: 1, timeout-minutes: 20}
- { python-version: "3.8", tox-env: py38-no-ext, max-attempts: 1, timeout-minutes: 20}
- { python-version: "3.9", tox-env: py39, max-attempts: 3 }
- { python-version: "3.9", tox-env: py39-no-ext, max-attempts: 3 }
- { python-version: "3.10", tox-env: py310, max-attempts: 3 }
- { python-version: "3.10", tox-env: py310-no-ext, max-attempts: 3 }
- { python-version: "3.11", tox-env: py311, max-attempts: 3 }
- { python-version: "3.11", tox-env: py311-no-ext, max-attempts: 3 }
- { python-version: "3.8", tox-env: py38-no-ext, platform: windows-latest, ignore-errors: true }
- { python-version: "3.8", tox-env: py38-no-ext, platform: windows-latest, ignore-errors: true, timeout-minutes: 20 }
- { python-version: "3.9", tox-env: py39-no-ext, platform: windows-latest, ignore-errors: true }
- { python-version: "3.10", tox-env: py310-no-ext, platform: windows-latest, ignore-errors: true }
- { python-version: "3.11", tox-env: py310-no-ext, platform: windows-latest, ignore-errors: true }
Expand All @@ -54,3 +54,4 @@ jobs:
tox-env: ${{ matrix.config.tox-env }}
max-attempts: ${{ matrix.config.max-attempts || 1 }}
ignore-errors: ${{ matrix.config.ignore-errors || false }}
timeout-minutes: ${{ matrix.config.timeout-minutes || 15 }}
2 changes: 1 addition & 1 deletion tests/typing/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_check_app_default(
assert note in output, output
except AssertionError:
target = target.parent
if not target.exists():
if not target.exists() or target == target.parent:
raise
else:
break
Expand Down

0 comments on commit 896e350

Please sign in to comment.