File tree Expand file tree Collapse file tree
.github/actions/acceptance-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080 - name : Run test - ${{ inputs.testType }}
8181 if : ${{ inputs.testType != 'e2e' || steps.check_proxy_deployed.outputs.proxy_deployed == 'true'}}
8282 shell : bash
83+ env : TARGET_ENVIRONMENT: ${{ inputs.targetEnvironment }}
8384 run : |
8485 make test-${{ inputs.testType }}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ export const SUPPLIER_LETTERS = "letters";
22export const SUPPLIER_API_URL_SANDBOX =
33 "https://internal-dev-sandbox.api.service.nhs.uk/nhs-notify-supplier" ;
44export const AWS_REGION = "eu-west-2" ;
5- export const envName = process . env . TARGET_ENVIRONMENT ;
5+ export const envName = process . env . TARGET_ENVIRONMENT ?? "main" ;
66export const API_NAME = `nhs-${ envName } -supapi` ;
77export const LETTERSTABLENAME = `nhs-${ envName } -supapi-letters` ;
88export const SUPPLIERID = "TestSupplier1" ;
You can’t perform that action at this time.
0 commit comments