Focus demo CI on reviewed Python smoke test [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -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"
|
||||
''' }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user