File tree 2 files changed +66
-1
lines changed 2 files changed +66
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Go E2E full
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ integration :
8
+ name : Full Integration Tests
9
+ runs-on : ubuntu-latest
10
+ permissions :
11
+ contents : read
12
+ id-token : write
13
+ steps :
14
+ - name : Checkout code
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Setup Go
18
+ uses : actions/setup-go@v5
19
+ with :
20
+ cache : false
21
+ go-version : 1.21.x
22
+
23
+ - name : Load cached dependencies
24
+ uses : actions/cache@v3
25
+ with :
26
+ path : |
27
+ ~/.cache/go-build
28
+ ~/go/pkg/mod
29
+ key : ${{ runner.os }}-go-e2e-full-${{ hashFiles('**/go.sum') }}
30
+ restore-keys : |
31
+ ${{ runner.os }}-go-e2e-full-
32
+
33
+ - name : Install dependencies
34
+ run : make deps
35
+
36
+ - name : Unit tests
37
+ run : make unit
38
+
39
+ - name : Setup Python
40
+ uses : actions/setup-python@v5
41
+ with :
42
+ python-version : ' 3.11'
43
+
44
+ - name : Install E2E dependencies
45
+ run : make e2e-deps
46
+
47
+ - name : Configure AWS Credentials
48
+ uses : aws-actions/configure-aws-credentials@v4
49
+ with :
50
+ role-to-assume : ${{ secrets.OIDC_AWS_ROLE_TO_ASSUME }}
51
+ aws-region : us-east-1
52
+ mask-aws-account-id : true
53
+ output-credentials : true
54
+ role-duration-seconds : 900
55
+ role-session-name : GithubOidcIntegAssumeRole
56
+ role-external-id : ${{ secrets.OIDC_AWS_ROLE_EXTERNAL_ID }}
57
+
58
+ - name : E2E full tests
59
+ run : make e2e-test-full
60
+ env :
61
+ KEY_1_ARN : ${{ secrets.KEY_1_ARN }}
62
+ KEY_2_ARN : ${{ secrets.KEY_2_ARN }}
63
+ KEY_3_ARN : ${{ secrets.KEY_3_ARN }}
64
+ MRK_KEY_1_ARN : ${{ secrets.MRK_KEY_1_ARN }}
65
+ MRK_KEY_2_ARN : ${{ secrets.MRK_KEY_2_ARN }}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ e2e-test-short:
107
107
108
108
e2e-test-full :
109
109
@echo " Running full e2e tests, it will take a while"
110
- @gotestsum -f testname -- -timeout=15m -tags " integration" ${RUN_INTEG} ./test/e2e/...
110
+ @gotestsum -f ${GOTESTSUM_FMT} -- -timeout=15m -tags " integration" ${RUN_INTEG} ./test/e2e/...
111
111
112
112
e2e-test-slow :
113
113
@echo " Running very slow e2e tests"
You can’t perform that action at this time.
0 commit comments