feat(ci): 👷 add gitlab pipeline template and document local checks
Changes
- Created .gitlab-ci.yml blueprint in
package-templateencapsulatingruff(formatting and linting),mypy(static types), andpytest -vautomation jobs. - Combined
ruff formatandruff checkinto a singlelint_codejob to optimize overhead on locallaptoprunners. - Assured all pipeline jobs install environment dependencies gracefully via
uv syncprior to running. - Assigned pipeline
defaulttags to target ETHZ GEGlaptoprunners strictly as documented incomputing-guide.wiki. - Explicitly appended .gitlab-ci.yml to the array of automatically tracked initialization files within hooks/post_gen_project.py.
- Updated the README.md template to explicitly document how developers can manually run these exact
uvvalidation checks (tests, linting, formatting, and type checking) locally. - includes !10 (merged) and some of !14 (merged)
TODO before merging
-
create a package with uvx --from cookiecutter cookiecutter git@gitlab.ethz.ch:geg/templates/package-template.git -c ci/setup-gitlab-pipeline, making sure to follow all printed and linked instructions-
chad -
@jblaume
-
Edited by jblaume