f98eacb196
- #9: standardize the test chain on stdlib unittest (nothing-to-install, which keeps M13's claims true and its planted bug intact). Aligned M5/M14/M16 prose, M14 lab/test_tasks.py, and ci/gitlab starters; ruff stays the only pip install. - #20: add venv / PEP 668 / which-python guidance to M20 (+ M14/M15 local installs); point MCP config at the venv's absolute python. - #21: replace M21 Part D's empty `git diff HEAD~1` with `git log -p` (no .gitignore added — device preserved). - #22: add a dependency-install step before M23's green baseline on a fresh clone. - #23: M24 reviewer/triage now tolerate code-fence-wrapped JSON (stdlib only); feature.patch trap untouched. - #28: fix M27 Part D CI snippet path (working-directory) and require the gate to target a varying candidate; swapped_model regression kept as the fixture. Closes #9 Closes #20 Closes #21 Closes #22 Closes #23 Closes #28 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfzV5QvtPDz8LJS3Pu5VLT
23 lines
974 B
YAML
23 lines
974 B
YAML
# The SAME pipeline as ci-starter.yml, written for GitLab CI instead of GitHub Actions.
|
|
#
|
|
# The point of having both side by side: CI is a concept, not a product. Checkout, set up the
|
|
# language, install tools, lint, test — every forge does these. Only the YAML dialect and the
|
|
# magic filename differ.
|
|
#
|
|
# Where this file goes: GitLab reads a single file named .gitlab-ci.yml at the repo root. Copy this
|
|
# there, commit, and push. (Other forges: Forgejo/Gitea use .forgejo/ or .gitea/workflows/ with
|
|
# Actions-compatible YAML; Bitbucket uses bitbucket-pipelines.yml. The shape rhymes everywhere.)
|
|
|
|
stages:
|
|
- check
|
|
|
|
check:
|
|
stage: check
|
|
# The runner image — a throwaway container with Python already installed. The GitLab equivalent
|
|
# of "runs-on: ubuntu-latest" plus "set up Python".
|
|
image: python:3.12
|
|
script:
|
|
- pip install ruff
|
|
- ruff check . # lint
|
|
- python -m unittest # test (stdlib runner from Module 13 — nothing to install)
|