389ac2e460
Apply the no-ai-slop standard (now binding in AGENTS.md): the em-dash character is banned outright (restructured, not blind-replaced), plus the banned word/phrase list (delve, leverage, robust, seamless, truly, unlock, etc.). 0 em-dashes remain in modules + capstone; the only "robust" left is the planted M10 ai-change.patch trap. Module H1 titles use a colon separator. All deliberate teaching devices preserved; labs compile/parse (py/sh/yaml/json); no junk. AGENTS.md updated with the hard no-slop rules. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TfzV5QvtPDz8LJS3Pu5VLT
23 lines
965 B
YAML
23 lines
965 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)
|