Skip to content

Commit 6b265d7

Browse files
committed
chore: cleanup
1 parent 337c6cf commit 6b265d7

File tree

3 files changed

+39
-57
lines changed

3 files changed

+39
-57
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: End to End Tests
22

33
on:
4+
push:
45
pull_request:
56

67
env:
@@ -12,74 +13,74 @@ concurrency:
1213
cancel-in-progress: true
1314

1415
jobs:
15-
build-docker:
16+
build:
1617
runs-on: ubuntu-latest
1718
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
2635
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:
3839
name: ${{ env.ARTIFACT_NAME }}
3940
path: ${{ env.TAR_PATH }}
4041

41-
prepare-e2e-tests:
42+
prepare:
4243
runs-on: ubuntu-latest
4344
outputs:
4445
matrix: ${{ steps.set-matrix.outputs.matrix }}
4546
steps:
46-
- name: Checkout code
47+
- name: Checkout Repository
4748
uses: actions/checkout@v4
4849

49-
- name: Set up Go 1.22
50-
uses: actions/setup-go@v4
50+
- name: Install Go
51+
uses: actions/setup-go@v5
5152
with:
52-
go-version: '^1.22'
53+
go-version: "1.22"
5354

54-
- name: Generate matrix
55+
- name: Generate Matrix
5556
id: set-matrix
5657
run: |
5758
# Run the command and convert its output to a JSON array
5859
TESTS=$(cd e2e && go test -list . | grep -v "^ok " | jq -R -s -c 'split("\n")[:-1]')
5960
echo "matrix=${TESTS}" >> $GITHUB_OUTPUT
6061
61-
e2e-tests:
62+
test:
6263
needs:
63-
- build-docker
64-
- prepare-e2e-tests
64+
- build
65+
- prepare
6566
runs-on: ubuntu-latest
6667
strategy:
6768
matrix:
6869
# names of `make` commands to run tests
69-
test: ${{fromJson(needs.prepare-e2e-tests.outputs.matrix)}}
70+
test: ${{fromJson(needs.prepare.outputs.matrix)}}
7071
fail-fast: false
7172

7273
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
7975
uses: actions/checkout@v4
8076

77+
- name: Install Go
78+
uses: actions/setup-go@v5
79+
with:
80+
go-version: "1.22"
81+
8182
- name: Download Tarball Artifact
82-
uses: actions/download-artifact@v3
83+
uses: actions/download-artifact@v4
8384
with:
8485
name: ${{ env.ARTIFACT_NAME }}
8586

.github/workflows/unit-tests.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

e2e/forwarding_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ func ForwardingSuite(t *testing.T) (ctx context.Context, noble *cosmos.CosmosCha
214214
factory := interchaintest.NewBuiltinChainFactory(logger, []*interchaintest.ChainSpec{
215215
{
216216
Name: "forwarding",
217+
Version: "local",
217218
NumValidators: &numValidators,
218219
NumFullNodes: &numFullNodes,
219220
ChainConfig: ibc.ChainConfig{

0 commit comments

Comments
 (0)