Focus demo CI on reviewed Python smoke test [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good

This commit is contained in:
Codex Agent
2026-11-28 21:14:17 +00:00
parent d118a677e0
commit 3ad7836e5b
4 changed files with 17 additions and 4 deletions
+6 -2
View File
@@ -54,10 +54,14 @@ RUN_NUMBER=$(python3 -c 'import json;print(json.load(open("out/actions-run.json"
sh ci/toolchain.sh exec python3 demo/build_demo_pdf.py --sha "$SOURCE_SHA" --run-number "$RUN_NUMBER" --run-id "$ACTIONS_RUN_ID" --attempt "$ACTIONS_ATTEMPT" --review-bundle /work/out/review-bundle.zip --release-version "$RELEASE_VERSION" --mode "$MODE" --jenkins-build "$BUILD_NUMBER"
''' }
}
stage('Unit, syntax and reviewed-file smoke tests') {
stage('Reviewer and pipeline unit tests') {
steps { sh '''set -eu
sh ci/toolchain.sh exec python3 -m unittest discover -s tests -v
sh ci/toolchain.sh exec python3 -m unittest discover -s tests -p 'test_reviewer.py' -v
sh ci/toolchain.sh exec python3 -m unittest discover -s ci/tests -v
''' }
}
stage('Compile and execute model-reviewed Python') {
steps { sh '''set -eu
sh ci/toolchain.sh exec python3 ci/final_project.py test --review-dir out/verified --output out/test-result.json --release-version "$RELEASE_VERSION"
''' }
}