1.3 Create CI Pipeline Test Stage
requested to merge feat/testing-framework/1-3-create-ci-pipeline-test-stage into feat/testing-framework/prd
Summary
- Add
.test_nodehidden template withNODE_ENV: testand shared artifact defaults - Create 4 new test jobs:
test:backend,test:frontend,test:doc-repo,test:python - Update
flutter:test(remove duplicateflutter analyze, add main branch rule) - All 5 test jobs run in parallel in the
teststage with path-basedrules:changes+ main branch rule - JUnit XML reports collected as
artifacts:reports:junit(4/5 — Flutter pending junitreport from story 1-1)
Test plan
-
Verify YAML syntax: python3 -c "import yaml; yaml.safe_load(open('.gitlab-ci.yml'))" -
Verify lint jobs and patrol:e2eare unchanged -
Verify all 5 test jobs are in teststage and run in parallel -
Verify all Node.js jobs have NODE_ENV: test -
Verify all jobs have cachewithtest-*prefixes -
Verify all jobs have path-based rules:changesfor MRs + main branch rule
Edited by Jérôme Revillard