Skip to content

deps(actions): bump astral-sh/setup-uv from 4 to 5 #7

deps(actions): bump astral-sh/setup-uv from 4 to 5

deps(actions): bump astral-sh/setup-uv from 4 to 5 #7

Workflow file for this run

name: Test
on: pull_request
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --dev
- name: Run tests
run: |
uv run pytest tests/ -v --cov=src --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}