Skip to content

Commit

Permalink
Try to rerun flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Feb 28, 2024
1 parent 8b70eb8 commit b615a33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pcloud-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest src --cov=src/pcloud --cov-report=xml --cov-branch --cov-config=.coveragerc --capture=no -v --timeout=600
pytest src --cov=src/pcloud --cov-report=xml --cov-branch --cov-config=.coveragerc --capture=no -v --timeout=600 --reruns 3 --reruns-delay 1
env:
PCLOUD_USERNAME: ${{ secrets.PCLOUD_USERNAME }}
PCLOUD_PASSWORD: ${{ secrets.PCLOUD_PASSWORD }}
Expand Down
1 change: 1 addition & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pytest==7.4.3
pytest-sugar==0.9.7
pytest-timeout==2.2.0
pytest-cov==4.1.0
pytest-rerunfailures==13.0
wheel==0.42.0
# flake8 version 6 requires Python 3.8+
flake8==5.0.4
Expand Down

0 comments on commit b615a33

Please sign in to comment.