Add retry step to failed Conda tests (#15884)

This commit is contained in:
Glenn Jocher 2024-08-29 14:10:22 +02:00 committed by GitHub
parent a222b94897
commit 12d943315c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -329,7 +329,11 @@ jobs:
results = model.export(format='onnx', imgsz=160)
"
- name: PyTest
run: |
uses: nick-fields/retry@v2
with:
timeout_minutes: 60
max_attempts: 3
command: |
git clone https://github.com/ultralytics/ultralytics
pytest ultralytics/tests