Skip to content

Commit 9a429b0

Browse files
committed
Further fixes
1 parent 9184737 commit 9a429b0

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/actions/acceptance-tests/action.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,22 @@ runs:
8888
fi
8989
9090
- name: Run test - ${{ inputs.testType }}
91-
if: ${{ inputs.testType != 'e2e' || steps.check_proxy_deployed.outputs.proxy_deployed == 'true'}}
91+
if: ${{ inputs.testType != 'e2e'}}
9292
shell: bash
9393
env:
9494
TARGET_ENVIRONMENT: ${{ inputs.targetEnvironment }}
9595
run: |
9696
make test-${{ inputs.testType }}
97+
98+
- name: Run test - e2e
99+
if: ${{ inputs.testType == 'e2e' && steps.check_proxy_deployed.outputs.proxy_deployed == 'true'}}
100+
shell: bash
101+
env:
102+
TARGET_ENVIRONMENT: ${{ inputs.targetEnvironment }}
103+
run: |
104+
echo "$INTERNAL_DEV_TEST_PEM" > "${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
105+
chmod 600 "${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
106+
export PROXY_NAME=nhs-notify-supplier--internal-dev--nhs-notify-supplier
107+
export API_ENVIRONMENT=internal-dev
108+
export NON_PROD_PRIVATE_KEY="${GITHUB_WORKSPACE}/internal-dev-test-1.pem"
109+
make .internal-dev-test

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ test-component:
107107
test-sandbox:
108108
(cd tests && npm install && npm run test:sandbox)
109109

110-
test-e2e: .internal-dev-test
111-
112110
test-performance:
113111
(cd tests && npm install && npm run test:performance)
114112

0 commit comments

Comments
 (0)