Files
aeonview/.github/workflows/python-tests.yml
renovate[bot] c5f45a0a77 chore(actions): update astral-sh/setup-uv action (v7.5.0 → v7.6.0)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 22:13:14 +00:00

40 lines
918 B
YAML

---
name: Python tests
# yamllint disable-line rule:truthy
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
# yamllint disable-line rule:line-length
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install uv
# yamllint disable-line rule:line-length
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with:
python-version-file: ".python-version"
- name: Install dependencies
shell: bash
run: uv sync --all-groups
- name: Run Ruff linting
shell: bash
run: uv run ruff check .
- name: Run tests with coverage
shell: bash
run: |
uv run pytest --cov=aeonview --cov-report=term-missing