docs(openspec): accept CLI presentation spec #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |