Update Conda CI (#15443)
This commit is contained in:
parent
03e0b1033c
commit
da2797a182
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
|
@ -336,6 +336,13 @@ jobs:
|
||||||
channels: conda-forge,defaults
|
channels: conda-forge,defaults
|
||||||
channel-priority: true
|
channel-priority: true
|
||||||
activate-environment: anaconda-client-env
|
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
|
- name: Install Linux packages
|
||||||
run: |
|
run: |
|
||||||
# Fix cv2 ImportError: 'libEGL.so.1: cannot open shared object file: No such file or directory'
|
# 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 val model=yolov8n.pt data=coco8.yaml imgsz=32
|
||||||
yolo export model=yolov8n.pt format=torchscript imgsz=160
|
yolo export model=yolov8n.pt format=torchscript imgsz=160
|
||||||
- name: Test Python
|
- name: Test Python
|
||||||
|
# Note this step must use the updated default bash environment, not a python environment
|
||||||
run: |
|
run: |
|
||||||
python -c "
|
python -c "
|
||||||
from ultralytics import YOLO
|
from ultralytics import YOLO
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue