Run Conda tests with aligned tag/version (#15904)

pull/15182/merge
Glenn Jocher 5 months ago committed by GitHub
parent cfebb5f26b
commit 6eb587ef15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      .github/workflows/ci.yaml

@ -329,13 +329,13 @@ jobs:
results = model.export(format='onnx', imgsz=160) results = model.export(format='onnx', imgsz=160)
" "
- name: PyTest - name: PyTest
uses: nick-fields/retry@v2 run: |
with: VERSION=$(conda list ultralytics | grep ultralytics | awk '{print $2}')
timeout_minutes: 60 echo "Ultralytics version: $VERSION"
max_attempts: 3 git clone https://github.com/ultralytics/ultralytics.git
command: | cd ultralytics
git clone https://github.com/ultralytics/ultralytics git checkout tags/v$VERSION
pytest ultralytics/tests pytest tests
Summary: Summary:
runs-on: ubuntu-latest runs-on: ubuntu-latest

Loading…
Cancel
Save