-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (34 loc) · 986 Bytes
/
e2e.yml
File metadata and controls
42 lines (34 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: End to End Test
permissions:
contents: read # Required for actions/checkout
id-token: write # Required for requesting the JWT
pull-requests: write # Required to write comments
on:
workflow_call:
workflow_dispatch:
jobs:
e2e:
environment: dev
name: End to End Test
runs-on: ubuntu-latest
steps:
- name: Checkout End to End
uses: actions/checkout@v6
with:
repository: "nhsconnect/prm-repo-e2e-tests"
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: "adopt"
java-version: "21"
- name: Build
run: |
chmod +x ./gradlew
./gradlew build
- name: Run End to End tests
env:
NHS_ENVIRONMENT: dev
AWS_REGION: ${{ vars.AWS_REGION }}
AWS_DEFAULT_REGION: ${{ vars.AWS_REGION }}
run: |
./gradlew test --tests "uk.nhs.prm.e2etests.test.repositorye2etest.RepositoryE2ETest"