File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : NBS Int Tests
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ run-nbs-int-tests :
8+ permissions :
9+ id-token : write
10+ contents : read
11+ runs-on : ubuntu-22.04
12+ environment : preprod
13+
14+ steps :
15+ - name : Checkout main
16+ uses : actions/checkout@v4
17+ with :
18+ ref : main
19+
20+ - name : Install asdf
21+ uses : asdf-vm/actions/setup@v3
22+ with :
23+ asdf_version : v0.18.0
24+
25+ - name : Cache asdf
26+ uses : actions/cache@v4
27+ with :
28+ path : |
29+ ~/.asdf
30+ key : ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
31+
32+ - name : Install asdf dependencies
33+ uses : asdf-vm/actions/install@v3
34+ with :
35+ asdf_version : v0.18.0
36+ env :
37+ PYTHON_CONFIGURE_OPTS : --enable-shared
38+
39+ - name : Cache Virtualenv
40+ id : cache-venv
41+ uses : actions/cache@v4
42+ with :
43+ path : |
44+ .venv
45+ key : ${{ runner.os }}-venv-${{ hashFiles('pyproject.toml') }}
46+
47+ - name : Install Dependencies
48+ if : steps.cache-venv.outputs.cache-hit != 'true'
49+ run : make install
50+
51+ - name : Configure AWS Credentials
52+ uses : aws-actions/configure-aws-credentials@v5
53+ with :
54+ role-to-assume : arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/Eligibility-Signposting-API-E2E-Regression-Tests
55+ aws-region : eu-west-2
56+
57+ - name : Run NBS Integration Tests
58+ run : make run-nbs-preprod-tests
You can’t perform that action at this time.
0 commit comments