Skip to content

Update coverage workflow to commit coverage assets and remove duplica… #583

Update coverage workflow to commit coverage assets and remove duplica…

Update coverage workflow to commit coverage assets and remove duplica… #583

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see
# - https://docs.astral.sh/uv/guides/github-actions/
name: Python build
on:
push:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Setup uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups
- name: Lint with Ruff
run: uv run ruff check --output-format=github .
- name: Check with Ty
run: uv run ty check ttc
- name: Test with pytest
run: uv run pytest