Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v7

- name: Setup Python
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}

- name: Setup uv
uses: ultralytics/actions/setup-uv@main
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
uv pip install --system -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
uv pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ultralytics/actions#915 merged at 17:18 UTC (da5463a, released as 0.4.0), so setup-uv@main now carries the new defaults and this CI run exercises them. The validation commit pointing at @setup-uv-defaults was already reverted, and the PR description is updated to match.


- name: Test test_prediction.py syntax
run: |
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Python
uses: actions/setup-python@v7
with:
python-version: "3.12"
- name: Setup uv
uses: ultralytics/actions/setup-uv@main
with:
python-version: "3.12"
- name: Install dependencies
uses: ultralytics/actions/retry@main
with:
run: uv pip install --system ultralytics --extra-index-url https://download.pytorch.org/whl/cpu
run: uv pip install ultralytics --extra-index-url https://download.pytorch.org/whl/cpu
- name: Setup Cog
uses: replicate/setup-cog@v2
with:
Expand Down
Loading