File tree Expand file tree Collapse file tree 2 files changed +12
-237
lines changed
Expand file tree Collapse file tree 2 files changed +12
-237
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,22 @@ jobs:
6969 GITHUB-TOKEN : ${{ steps.generate-token.outputs.token }}
7070 run : |
7171 if [[ "$TARGET_ENVIRONMENT" != "prod" && "$TARGET_ENVIRONMENT" != "ref" ]]; then
72+ # this should be the tag of the tests you want to run
73+ REGRESSION_TEST_REPO_TAG=v3.0.0
74+
75+ # this should be the tag of the regression test workflow you want to run
76+ # This will normally be the same as REGRESSION_TEST_REPO_TAG
77+ REGRESSION_TEST_WORKFLOW_TAG=v3.0.0
78+
79+ curl https://raw.githubusercontent.com/NHSDigital/electronic-prescription-service-api-regression-tests/refs/tags/${REGRESSION_TEST_WORKFLOW_TAG}/scripts/run_regression_tests.py -o run_regression_tests.py
7280 poetry install
7381 echo Running regression tests in the "$TARGET_ENVIRONMENT" environment
74- poetry run python run_regression_tests.py \
82+ poetry run python -u run_regression_tests.py \
7583 --env="$TARGET_ENVIRONMENT" \
7684 --pr_label="$VERSION_NUMBER" \
7785 --token=${{ steps.generate-token.outputs.token }} \
7886 --is_called_from_github=true \
79- --product=CPTS-UI
87+ --product=CPTS-UI \
88+ --regression_test_repo_tag "${REGRESSION_TEST_REPO_TAG}" \
89+ --regression_test_workflow_tag "${REGRESSION_TEST_WORKFLOW_TAG}"
8090 fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments