From da2797a182f56748391c55a1b0bb133f7f0c8fb4 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 13 Aug 2024 17:29:07 +0800 Subject: [PATCH] Update Conda CI (#15443) --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b815fb61..d69b95cb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -336,6 +336,13 @@ jobs: channels: conda-forge,defaults channel-priority: true activate-environment: anaconda-client-env + - name: Cleanup toolcache + run: | + echo "Free space before deletion:" + df -h / + rm -rf /opt/hostedtoolcache + echo "Free space after deletion:" + df -h / - name: Install Linux packages run: | # Fix cv2 ImportError: 'libEGL.so.1: cannot open shared object file: No such file or directory' @@ -361,6 +368,7 @@ jobs: yolo val model=yolov8n.pt data=coco8.yaml imgsz=32 yolo export model=yolov8n.pt format=torchscript imgsz=160 - name: Test Python + # Note this step must use the updated default bash environment, not a python environment run: | python -c " from ultralytics import YOLO