Skip to content

Commit 1f2ff3e

Browse files
committed
flakyness
1 parent 7544ecc commit 1f2ff3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- name: Run tests
8686
working-directory: ./src # For code coverage to work
8787
run: |
88-
PYTEST="python -m pytest --cov=./huggingface_hub --cov-report=xml:../coverage.xml --vcr-record=none --reruns 5 --reruns-delay 1 --only-rerun '(OSError|Timeout|HTTPError.*502|HTTPError.*504)'"
88+
PYTEST="python -m pytest --cov=./huggingface_hub --cov-report=xml:../coverage.xml --vcr-record=none --reruns 5 --reruns-delay 1 --only-rerun '(OSError|Timeout|HTTPError.*502|HTTPError.*504||not less than or equal to 0.01)'"
8989
9090
case "${{ matrix.test_name }}" in
9191
@@ -163,7 +163,7 @@ jobs:
163163
# Run tests
164164
- name: Run tests
165165
working-directory: ./src # For code coverage to work
166-
run: python -m pytest --cov=./huggingface_hub --cov-report=xml:../coverage.xml --vcr-record=none --reruns 5 --reruns-delay 1 --only-rerun '(OSError|Timeout|HTTPError.*502|HTTPError.*504)' ../tests
166+
run: python -m pytest --cov=./huggingface_hub --cov-report=xml:../coverage.xml --vcr-record=none --reruns 5 --reruns-delay 1 --only-rerun '(OSError|Timeout|HTTPError.*502|HTTPError.*504|not less than or equal to 0.01)' ../tests
167167

168168
# Upload code coverage
169169
- name: Upload coverage reports to Codecov with GitHub Action

0 commit comments

Comments
 (0)