feat(explorer): v0.8.10 — directory view, /new creation, /stats dashboard #21
Workflow file for this run
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: PR Checks | |
| # Pre-merge tier (v0.7.14, ADR-027 rule 1): pull requests run the static | |
| # quality gates plus a small smoke battery — core, golden, and dogfood on one | |
| # Python version. The full battery × version grid stays merge-gated on main | |
| # (ci.yml); this tier exists to catch lint/type breakage, output-contract | |
| # drift, and corpus damage before merge, in about two minutes. | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: pr-checks-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: lint (ruff + mypy) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install package with dev extras | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e .[dev] | |
| - name: ruff check | |
| run: python -m ruff check src/ tests/ | |
| - name: ruff format --check | |
| run: python -m ruff format --check src/ tests/ | |
| - name: mypy | |
| run: python -m mypy src/ | |
| smoke: | |
| name: smoke (core + golden + dogfood, py3.11) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install package with dev extras | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e .[dev] | |
| - name: Run smoke battery | |
| run: > | |
| python -m pytest -q | |
| tests/test_validate.py tests/test_parser.py tests/test_schema.py | |
| tests/test_identity.py tests/test_frontmatter.py | |
| tests/test_metadata_identity.py tests/test_idgen.py | |
| tests/test_ci_batteries.py tests/test_corpus.py | |
| tests/test_operations.py | |
| tests/test_golden.py tests/test_dogfood.py |