mirror of
https://github.com/uroni/hs5.git
synced 2025-10-26 11:17:18 +00:00
Add timeout to tests
This commit is contained in:
parent
1aeaa77fac
commit
b0c7b988f7
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -89,7 +89,7 @@ jobs:
|
||||
if: matrix.benchmark == 0
|
||||
with:
|
||||
emoji: false
|
||||
custom-arguments: -p no:sugar --benchmark-skip test
|
||||
custom-arguments: -p no:sugar --benchmark-skip test --timeout=300
|
||||
|
||||
- uses: pavelzw/pytest-action@v2
|
||||
if: matrix.benchmark == 1
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
emoji: false
|
||||
custom-arguments: -p no:sugar --benchmark-skip test
|
||||
custom-arguments: -p no:sugar --benchmark-skip test --timeout=300
|
||||
|
||||
- name: Create Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
||||
@ -3,4 +3,5 @@ pytest
|
||||
pytest-sugar
|
||||
boto3-stubs[s3]
|
||||
requests
|
||||
pytest-benchmark
|
||||
pytest-benchmark
|
||||
pytest-timeout
|
||||
Loading…
Reference in New Issue
Block a user