Skip to content

docs(openspec): accept CLI presentation spec #31

docs(openspec): accept CLI presentation spec

docs(openspec): accept CLI presentation spec #31

Workflow file for this run

name: check
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v9.0.0
with:
python-version: "3.14"
enable-cache: true
- run: uv sync --locked
- run: uv run ruff check src tests tools
- run: uv run ruff format --check src tests tools
- run: uv run pytest tests/unit tests/config
- name: Run local Restic integration tests when available
run: |
if command -v restic >/dev/null 2>&1; then
uv run pytest tests/integration/test_restic.py
else
printf '%s\n' 'restic unavailable; skipping local Restic integration tests'
fi
- run: uv run pytest --collect-only -q tests/integration