Bump astral-sh/setup-uv from 3 to 4 #15
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches-ignore: | |
- main # Ignore main branch, deploy workflow will call it | |
pull_request: | |
workflow_call: | |
jobs: | |
test: | |
name: Run Tests on Python ${{ matrix.python-version }} (${{ matrix.os }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.10", "3.11"] | |
include: | |
- os: macos-latest | |
python-version: "3.10" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
- name: Install the project | |
run: make install | |
- name: Run linter | |
run: uv run ruff check --output-format=github . | |
- name: Run formatter | |
run: uv run ruff format --check | |
- name: Run tests | |
run: uv run pytest | |
# |