Merge pull request #22 from Gepetto/pre-commit-ci-update-config #58
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: "CI - uv" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
uv: | |
runs-on: "${{ matrix.os }}-latest" | |
strategy: | |
matrix: | |
os: [ubuntu, macos] | |
python-version: [ "3.10", "3.11", "3.12", "3.13" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- run: uv python install ${{ matrix.python-version }} | |
- run: uv sync --all-extras --dev | |
- run: uv build | |
- run: uv run python -m unittest |