Skip to content

Commit 9d5ac0b

Browse files
committed
added pytest retry and set retry to 5
1 parent 4264862 commit 9d5ac0b

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3737
- name: Test with pytest
3838
run: |
39-
pytest -n 1 --cov-report=html --cov --ignore=examples tests
39+
pytest -n 1 --reruns 5 --cov-report=html --cov --ignore=examples tests
4040
- name: Archive code coverage html report
4141
uses: actions/upload-artifact@v2
4242
with:

requirements.txt

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
flake8==5.0.4
2-
pytest==7.2.0
3-
pytest-asyncio==0.20.2
4-
pytest-timeout==2.1.0
5-
asyncstdlib==3.10.5
6-
pytest-cov==4.0.0
7-
coverage==6.5.0
81
Rx==3.2.0
92
aiohttp==3.8.3
10-
quart==0.18.3
11-
coveralls==3.3.1
123
aioquic==0.9.20
13-
reactivex==4.0.4
14-
starlette==0.22.0
154
asyncclick==8.1.3.4
5+
asyncstdlib==3.10.5
6+
coverage==6.5.0
7+
coveralls==3.3.1
8+
decoy==1.11.1
9+
flake8==5.0.4
10+
pytest-asyncio==0.20.2
11+
pytest-cov==4.0.0
1612
pytest-profiling==1.7.0
13+
pytest-rerunfailures==10.3
14+
pytest-timeout==2.1.0
1715
pytest-xdist==3.0.2
18-
decoy==1.11.1
16+
pytest==7.2.0
17+
quart==0.18.3
18+
reactivex==4.0.4
19+
starlette==0.22.0

0 commit comments

Comments
 (0)