File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,9 @@ jobs:
137137 with :
138138 python-version : 3.11
139139 cache : " poetry"
140+ cache-dependency-path : |
141+ lambdas/mns_subscription/poetry.lock
142+ lambdas/shared/poetry.lock
140143
141144 - name : Create MNS Subscription
142145 if : ${{ inputs.environment == 'dev' && inputs.create_mns_subscription }}
Original file line number Diff line number Diff line change 5656 with :
5757 python-version : 3.11
5858 cache : " poetry"
59+ cache-dependency-path : |
60+ lambdas/mns_subscription/poetry.lock
61+ lambdas/shared/poetry.lock
5962
6063 - name : Unsubscribe MNS
6164 working-directory : " ./lambdas/mns_subscription"
Original file line number Diff line number Diff line change 3838 ENVIRONMENT : ${{ inputs.environment }}
3939 SUB_ENVIRONMENT : ${{ inputs.sub_environment }}
4040
41+ permissions :
42+ id-token : write
43+ contents : read
44+
4145jobs :
4246 e2e-tests :
4347 runs-on : ubuntu-latest
4448 environment :
4549 name : ${{ inputs.environment }}
4650 env : # Sonarcloud - do not allow direct usage of untrusted data
4751 APIGEE_USERNAME : ${{ vars.APIGEE_USERNAME }}
48- permissions :
49- id-token : write
50- contents : read
5152 steps :
5253 - name : Connect to AWS
5354 uses : aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838
8687 with :
8788 python-version : 3.11
8889 cache : " poetry"
90+ cache-dependency-path : " e2e/poetry.lock"
8991
9092 - name : Install e2e test dependencies
9193 working-directory : e2e
@@ -126,12 +128,10 @@ jobs:
126128
127129 batch-e2e-tests :
128130 needs : [e2e-tests]
131+ if : ${{ always() }}
129132 runs-on : ubuntu-latest
130133 environment :
131134 name : ${{ inputs.environment }}
132- permissions :
133- id-token : write
134- contents : read
135135 steps :
136136 - name : Connect to AWS
137137 uses : aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838
@@ -149,6 +149,7 @@ jobs:
149149 with :
150150 python-version : 3.11
151151 cache : " poetry"
152+ cache-dependency-path : " e2e_batch/poetry.lock"
152153
153154 - name : Install e2e test dependencies
154155 working-directory : e2e_batch
You can’t perform that action at this time.
0 commit comments