chore(ci): update workflows

This commit is contained in:
Dowon
2025-06-07 12:20:55 +09:00
parent b75b1aa1dd
commit e41ee473c8
3 changed files with 6 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
test:
@@ -18,9 +19,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- name: Build wheel
run: pipx run build
run: uv build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

View File

@@ -13,6 +13,7 @@ jobs:
name: Test on python ${{ matrix.python-version }}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
@@ -22,9 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: uv run --all-extras pytest -v
run: uv run --all-extras --with 'git+https://github.com/ultralytics/CLIP.git' pytest -v