Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
ci: pytest timout
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Sep 1, 2023
1 parent 5b4003b commit d17f988
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .azure/template-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- script: |
pip list
python -m coverage run --source flash -m pytest tests/examples -vV --durations=30
python -m coverage run --source flash -m pytest tests/examples -vV --timeout=300 --durations=30
displayName: 'Testing'
- bash: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
tests/examples \
tests/template \
tests/${{ matrix.topic }} \
-v # --reruns 3 --reruns-delay 2
-v --timeout=300 --durations=50 # --reruns 3 --reruns-delay 2
- name: Save HF cache
if: github.ref == 'refs/heads/master'
Expand Down
1 change: 1 addition & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ pytest-doctestplus ==0.13.0
pytest-rerunfailures ==12.0
pytest-forked ==1.6.0
pytest-mock ==3.11.1
pytest-timeout ==2.1.0

0 comments on commit d17f988

Please sign in to comment.