-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: package-forwarding-middleware and ibc-hooks (#416)
Co-authored-by: Pham Anh Minh <[email protected]> Co-authored-by: Dong Lieu <[email protected]> Co-authored-by: Lặc <[email protected]> Co-authored-by: Pham Anh Minh <[email protected]> Co-authored-by: expertdicer <[email protected]>
- Loading branch information
1 parent
9b972d2
commit 0aa8152
Showing
66 changed files
with
7,594 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Run End-To-End Tests | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- frag/foundation | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
jobs: | ||
e2e: | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 25 | ||
steps: | ||
- | ||
name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.20.4' | ||
- | ||
name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- | ||
name: Build e2e image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
file: ./tests/e2e/e2e.Dockerfile | ||
context: . | ||
platforms: linux/amd64 | ||
tags: terra:debug | ||
build-args: | | ||
BASE_IMG_TAG=debug | ||
- | ||
name: Testing | ||
run: make test-e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
name: Interchain Tests | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- frag/foundation | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
jobs: | ||
build-image: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.20' | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- name: Build interchain image | ||
id: build_image | ||
uses: docker/build-push-action@v3 | ||
with: | ||
file: ./ictest.Dockerfile | ||
context: . | ||
platforms: linux/amd64 | ||
tags: | | ||
core:local | ||
test-terra-start: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Set up Go 1.20 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.20" | ||
check-latest: true | ||
|
||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- run: make ictest-start | ||
|
||
test-ibc-transfer: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Set up Go 1.20 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.20" | ||
check-latest: true | ||
|
||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- run: make ictest-ibc | ||
|
||
test-ibc-hooks: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Set up Go 1.20 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.20" | ||
check-latest: true | ||
|
||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- run: make ictest-ibc-hooks | ||
|
||
test-ibc-pfm: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Set up Go 1.20 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.20" | ||
check-latest: true | ||
|
||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- run: make ictest-ibc-pfm | ||
|
||
test-validator: | ||
runs-on: ubuntu-latest | ||
needs: build-image | ||
steps: | ||
- name: Set up Go 1.20 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.20" | ||
check-latest: true | ||
|
||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- run: make ictest-validator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.