Commit 6af9522 Jacob Woffenden
committed
1 parent d275cef commit 6af9522 Copy full SHA for 6af9522
File tree 2 files changed +36
-2
lines changed
2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : 🧪 Test
3
+
4
+ on :
5
+ pull_request :
6
+ branches :
7
+ - main
8
+
9
+ permissions : {}
10
+
11
+ jobs :
12
+ test :
13
+ name : Test
14
+ runs-on : ubuntu-latest
15
+ permissions :
16
+ contents : read
17
+ steps :
18
+ - name : Checkout
19
+ id : checkout
20
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
21
+
22
+ - name : Set Up Container Structure Test
23
+ id : setup_container_structure_test
24
+ uses : ministryofjustice/github-actions/setup-container-structure-test@8e1bfc920f829ce408a5ef84118fbc160e559066 # v18.1.2
25
+
26
+ - name : Test
27
+ id : test
28
+ shell : bash
29
+ env :
30
+ IMAGE_TAG : ${{ github.sha }}
31
+ run : |
32
+ make test
Original file line number Diff line number Diff line change 1
- IMAGE_NAME = ghcr.io/ministryofjustice/analytical-platform-cloud-development-environment-base
2
- IMAGE_TAG = local
1
+ .PHONY test build
2
+
3
+ IMAGE_NAME ?= ghcr.io/ministryofjustice/analytical-platform-cloud-development-environment-base
4
+ IMAGE_TAG ?= local
3
5
4
6
test : build
5
7
container-structure-test test --platform linux/amd64 --config test/container-structure-test.yml --image $(IMAGE_NAME ) :$(IMAGE_TAG )
You can’t perform that action at this time.
0 commit comments