mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-27 11:49:55 +00:00
32 lines
622 B
YAML
32 lines
622 B
YAML
name: Test
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "adetailer/**.py"
|
|
workflow_call:
|
|
schedule:
|
|
- cron: "0 0 * * 0"
|
|
|
|
jobs:
|
|
test:
|
|
name: Test on python ${{ matrix.python-version }}
|
|
runs-on: macos-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version:
|
|
- "3.10"
|
|
- "3.11"
|
|
- "3.12"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: astral-sh/setup-uv@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Run tests
|
|
run: uv run --all-extras --with 'git+https://github.com/ultralytics/CLIP.git' pytest -v
|