Add YOLO Segmentation as source format (#53) #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Python Package | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python: ["3.9", "3.10", "3.11", "3.12"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout with submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "0.5.4" | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- name: Setup Python ${{ matrix.python }} | |
run: uv python install ${{ matrix.python }} | |
- name: Install dependencies | |
run: uv sync --dev | |
- name: Run tests | |
run: uv run pytest tests |