-
Notifications
You must be signed in to change notification settings - Fork 628
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
6 changed files
with
119 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
.github/compatibility-test-matrices/release-v5.0.x/client.json
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,10 @@ | ||
{ | ||
"chain-a": ["release-v5.0.x", "v4.1.0", "v3.3.0", "v2.4.0"], | ||
"chain-b": ["release-v5.0.x", "v4.1.0", "v3.3.0", "v2.4.0"], | ||
"entrypoint": ["TestClientTestSuite"], | ||
"test": [ | ||
"TestClientUpdateProposal_Succeeds" | ||
], | ||
"chain-binary": ["simd"], | ||
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"] | ||
} |
15 changes: 15 additions & 0 deletions
15
.github/compatibility-test-matrices/release-v5.0.x/incentivized-transfer.json
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,15 @@ | ||
{ | ||
"chain-a": ["release-v5.0.x", "v4.1.0"], | ||
"chain-b": ["release-v5.0.x", "v4.1.0"], | ||
"entrypoint": ["TestIncentivizedTransferTestSuite"], | ||
"test": [ | ||
"TestMsgPayPacketFee_AsyncSingleSender_Succeeds", | ||
"TestMsgPayPacketFee_InvalidReceiverAccount", | ||
"TestMultiMsg_MsgPayPacketFeeSingleSender", | ||
"TestMsgPayPacketFee_SingleSender_TimesOut", | ||
"TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress", | ||
"TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds" | ||
], | ||
"chain-binary": ["simd"], | ||
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"] | ||
} |
14 changes: 14 additions & 0 deletions
14
.github/compatibility-test-matrices/release-v5.0.x/transfer.json
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,14 @@ | ||
{ | ||
"chain-a": ["release-v5.0.x", "v4.1.0", "v3.3.0", "v2.4.0"], | ||
"chain-b": ["release-v5.0.x", "v4.1.0", "v3.3.0", "v2.4.0"], | ||
"entrypoint": ["TestTransferTestSuite"], | ||
"test": [ | ||
"TestMsgTransfer_Succeeds_Nonincentivized", | ||
"TestMsgTransfer_Fails_InvalidAddress", | ||
"TestMsgTransfer_Timeout_Nonincentivized", | ||
"TestSendEnabledParam", | ||
"TestReceiveEnabledParam" | ||
], | ||
"chain-binary": ["simd"], | ||
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"] | ||
} |
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,50 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
docker-tag: | ||
description: 'Docker tag being used' | ||
required: true | ||
type: string | ||
test-suite: | ||
description: 'Test suite to run' | ||
required: true | ||
type: string | ||
|
||
|
||
jobs: | ||
load-test-matrix: | ||
outputs: | ||
test-matrix: ${{ steps.set-test-matrix.outputs.test-matrix }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: | | ||
# use jq -c to put the full json contents on a single line. This is required when using the json body | ||
# to create the matrix in the following job. | ||
test_matrix="$(cat .github/compatibility-test-matrices/${{ inputs.docker-tag }}/${{ inputs.test-suite }}.json | jq -c)" | ||
echo $test_matrix | ||
echo "::set-output name=test-matrix::$test_matrix" | ||
id: set-test-matrix | ||
e2e: | ||
runs-on: ubuntu-latest | ||
needs: load-test-matrix | ||
strategy: | ||
fail-fast: false | ||
matrix: ${{ fromJSON(needs.load-test-matrix.outputs.test-matrix) }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
- name: Run e2e Test | ||
run: | | ||
cd e2e | ||
make e2e-test entrypoint=${{ matrix.entrypoint }} test=${{ matrix.test }} | ||
env: | ||
# each test has its own set of variables to specify which images are used. | ||
CHAIN_IMAGE: "${{ matrix.chain-image }}" | ||
CHAIN_A_TAG: "${{ matrix.chain-a }}" | ||
CHAIN_B_TAG: "${{ matrix.chain-b }}" | ||
CHAIN_BINARY: "${{ matrix.chain-binary }}" | ||
RLY_TAG: "v2.0.0" |
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