Skip to content

Rename CI workflow steps for clarity: 'Lint' to 'Run linter' and 'For… #44

Rename CI workflow steps for clarity: 'Lint' to 'Run linter' and 'For…

Rename CI workflow steps for clarity: 'Lint' to 'Run linter' and 'For… #44

Workflow file for this run

name: CI
on:
push:
pull_request_target:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Update environment
run: uv sync --all-extras --dev
- name: Run linter
run: uv run ruff check
- name: Check formatting
run: uv run ruff format --check
- name: Run tests
run: uv run pytest --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
- uses: codecov/test-results-action@v1
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}