1
1
name : End to End Tests
2
2
3
3
on :
4
+ push :
4
5
pull_request :
5
6
6
7
env :
@@ -12,74 +13,74 @@ concurrency:
12
13
cancel-in-progress : true
13
14
14
15
jobs :
15
- build-docker :
16
+ build :
16
17
runs-on : ubuntu-latest
17
18
steps :
18
- - name : Build Docker image
19
- uses : strangelove-ventures/heighliner-build-action@v1.0.1
20
- with :
21
- registry : " " # empty registry, image only shared for e2e testing
22
- tag : local # emulate local environment for consistency in interchaintest cases
23
- tar-export-path : ${{ env.TAR_PATH }} # export a tarball that can be uploaded as an artifact for the e2e jobs
24
- platform : linux/amd64 # test runner architecture only
25
- git-ref : ${{ github.head_ref }} # source code ref
19
+ - name : Build Docker image
20
+ uses : strangelove-ventures/heighliner-build-action@v1.0.1
21
+ with :
22
+ registry : " " # empty registry, image only shared for e2e testing
23
+ tag : local # emulate local environment for consistency in interchaintest cases
24
+ tar-export-path : ${{ env.TAR_PATH }} # export a tarball that can be uploaded as an artifact for the e2e jobs
25
+ platform : linux/amd64 # test runner architecture only
26
+ git-ref : ${{ github.head_ref }} # source code ref
27
+
28
+ # Heighliner chains.yaml config
29
+ chain : noble-forwarding-simd
30
+ dockerfile : cosmos
31
+ build-target : make build
32
+ build-dir : simapp
33
+ binaries : |
34
+ - simapp/build/simd
26
35
27
- # Heighliner chains.yaml config
28
- chain : noble-forwarding-simd
29
- dockerfile : cosmos
30
- build-target : make build
31
- build-dir : simapp
32
- binaries : |
33
- - simapp/build/simd
34
-
35
- - name : Publish Tarball as Artifact
36
- uses : actions/upload-artifact@v3
37
- with :
36
+ - name : Publish Tarball as Artifact
37
+ uses : actions/upload-artifact@v4
38
+ with :
38
39
name : ${{ env.ARTIFACT_NAME }}
39
40
path : ${{ env.TAR_PATH }}
40
41
41
- prepare-e2e-tests :
42
+ prepare :
42
43
runs-on : ubuntu-latest
43
44
outputs :
44
45
matrix : ${{ steps.set-matrix.outputs.matrix }}
45
46
steps :
46
- - name : Checkout code
47
+ - name : Checkout Repository
47
48
uses : actions/checkout@v4
48
49
49
- - name : Set up Go 1.22
50
- uses : actions/setup-go@v4
50
+ - name : Install Go
51
+ uses : actions/setup-go@v5
51
52
with :
52
- go-version : ' ^ 1.22'
53
+ go-version : " 1.22"
53
54
54
- - name : Generate matrix
55
+ - name : Generate Matrix
55
56
id : set-matrix
56
57
run : |
57
58
# Run the command and convert its output to a JSON array
58
59
TESTS=$(cd e2e && go test -list . | grep -v "^ok " | jq -R -s -c 'split("\n")[:-1]')
59
60
echo "matrix=${TESTS}" >> $GITHUB_OUTPUT
60
61
61
- e2e-tests :
62
+ test :
62
63
needs :
63
- - build-docker
64
- - prepare-e2e-tests
64
+ - build
65
+ - prepare
65
66
runs-on : ubuntu-latest
66
67
strategy :
67
68
matrix :
68
69
# names of `make` commands to run tests
69
- test : ${{fromJson(needs.prepare-e2e-tests .outputs.matrix)}}
70
+ test : ${{fromJson(needs.prepare.outputs.matrix)}}
70
71
fail-fast : false
71
72
72
73
steps :
73
- - name : Set up Go 1.22
74
- uses : actions/setup-go@v4
75
- with :
76
- go-version : ' ^1.22'
77
-
78
- - name : checkout chain
74
+ - name : Checkout Repository
79
75
uses : actions/checkout@v4
80
76
77
+ - name : Install Go
78
+ uses : actions/setup-go@v5
79
+ with :
80
+ go-version : " 1.22"
81
+
81
82
- name : Download Tarball Artifact
82
- uses : actions/download-artifact@v3
83
+ uses : actions/download-artifact@v4
83
84
with :
84
85
name : ${{ env.ARTIFACT_NAME }}
85
86
0 commit comments