-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update test suite to relevant binaries (#1285)
Co-authored-by: Reece Williams <[email protected]> Co-authored-by: Reece Williams <[email protected]>
- Loading branch information
1 parent
bfeb32a
commit 664ae63
Showing
25 changed files
with
300 additions
and
250 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,32 @@ | ||
name: Conformance End-To-End Tests | ||
|
||
on: | ||
pull_request: | ||
|
||
# Ensures that only a single workflow per PR will run at a time. Cancels in-progress jobs if new commit is pushed. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-conformance: | ||
name: test-conformance | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Install and setup go | ||
- name: Set up Go 1.22 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
|
||
- name: checkout interchaintest | ||
uses: actions/checkout@v4 | ||
|
||
# cleanup environment on self-hosted test runner | ||
- name: clean | ||
run: |- | ||
rm -rf ~/.interchaintest | ||
# run tests | ||
- name: run conformance tests | ||
run: (go test -race -timeout 30m -failfast -v -p 2 ./cmd/interchaintest) || (echo "\n\n*****CHAIN and RELAYER LOGS*****" && cat "$HOME/.interchaintest/logs/interchaintest.log" && exit 1) |
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,33 @@ | ||
name: Cosmos End-To-End Tests | ||
|
||
on: | ||
pull_request: | ||
|
||
# Ensures that only a single workflow per PR will run at a time. Cancels in-progress jobs if new commit is pushed. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-cosmos-examples: | ||
name: test-cosmos-examples | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Install and setup go | ||
- name: Set up Go 1.22 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
cache: false | ||
|
||
- name: checkout interchaintest | ||
uses: actions/checkout@v4 | ||
|
||
# cleanup environment on self-hosted test runner | ||
- name: clean | ||
run: |- | ||
rm -rf ~/.interchaintest | ||
# run tests | ||
- name: run example cosmos tests | ||
run: go test -race -failfast -timeout 30m -v -p 2 ./examples/cosmos |
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,33 @@ | ||
name: IBC End-To-End Tests | ||
|
||
on: | ||
pull_request: | ||
|
||
# Ensures that only a single workflow per PR will run at a time. Cancels in-progress jobs if new commit is pushed. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-ibc-examples: | ||
name: test-ibc-examples | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Install and setup go | ||
- name: Set up Go 1.22 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
cache: false | ||
|
||
- name: checkout interchaintest | ||
uses: actions/checkout@v4 | ||
|
||
# cleanup environment on self-hosted test runner | ||
- name: clean | ||
run: |- | ||
rm -rf ~/.interchaintest | ||
# run tests | ||
- name: run example ibc tests | ||
run: go test -race -timeout 30m -failfast -v -p 2 ./examples/ibc |
This file was deleted.
Oops, something went wrong.
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.