From 5a82b511074617b9daa25000e5672c5d56188374 Mon Sep 17 00:00:00 2001 From: Lakshantha Dissanayake Date: Sat, 20 Apr 2024 11:58:34 -0700 Subject: [PATCH] Reboot RPi CI to fix an issue (#10189) Co-authored-by: Glenn Jocher --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e9b1feee..b19f5d2f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -247,6 +247,8 @@ jobs: - name: Pytest tests run: | 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: if: github.repository == 'ultralytics/ultralytics' && (github.event_name == 'schedule' || github.event.inputs.conda == 'true')