Skip to content

ci: simplify CI matrix and add GitHub Pages deployment #2

ci: simplify CI matrix and add GitHub Pages deployment

ci: simplify CI matrix and add GitHub Pages deployment #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
uv venv
uv pip install -e ".[dev]"
- name: Run type checking
run: uv run poe type
- name: Run linting
run: uv run poe lint
- name: Run tests with coverage
run: uv run poe test-cov
- name: Upload coverage to Codecov
if: success()
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: false