Reboot RPi CI to fix an issue (#10189)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
911a0edd2d
commit
5a82b51107
1 changed files with 2 additions and 0 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -247,6 +247,8 @@ jobs:
|
||||||
- name: Pytest tests
|
- name: Pytest tests
|
||||||
run: |
|
run: |
|
||||||
pytest --slow tests/
|
pytest --slow tests/
|
||||||
|
- name: Reboot # run a reboot command in the background to free resources for next run and not crash main thread
|
||||||
|
run: sudo bash -c "sleep 10; reboot" &
|
||||||
|
|
||||||
Conda:
|
Conda:
|
||||||
if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event.inputs.conda == 'true')
|
if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event.inputs.conda == 'true')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue