Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running compatibility tests from main #2848

Merged
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/compatibility-test-matrices/main/client-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"chain-a": ["main"],
"chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"],
"entrypoint": ["TestClientTestSuite"],
"test": [
"TestClientUpdateProposal_Succeeds"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
10 changes: 10 additions & 0 deletions .github/compatibility-test-matrices/main/client-chain-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"],
"chain-b": ["main"],
"entrypoint": ["TestClientTestSuite"],
"test": [
"TestClientUpdateProposal_Succeeds"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"chain-a": ["main"],
"chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"],
"entrypoint": ["TestConnectionTestSuite"],
"test": [
"TestMaxExpectedTimePerBlockParam"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"],
"chain-b": ["main"],
"entrypoint": ["TestConnectionTestSuite"],
"test": [
"TestMaxExpectedTimePerBlockParam"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
12 changes: 12 additions & 0 deletions .github/compatibility-test-matrices/main/ica-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"chain-a": ["main"],
"chain-b": ["main"],
"entrypoint": ["TestInterchainAccountsTestSuite"],
"test": [
"TestMsgSendTx_SuccessfulTransfer",
"TestMsgSendTx_FailedTransfer_InsufficientFunds",
"TestMsgSubmitTx_SuccessfulTransfer_AfterReopeningICA"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
10 changes: 10 additions & 0 deletions .github/compatibility-test-matrices/main/ica-gov-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"chain-a": ["main"],
"chain-b": ["main"],
"entrypoint": ["TestInterchainAccountsGovTestSuite"],
"test": [
"TestInterchainAccountsGovIntegration"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"chain-a": ["main"],
"chain-b": ["main"],
"entrypoint": ["TestInterchainAccountsGroupsTestSuite"],
"test": [
"TestInterchainAccountsGroupsIntegration"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["main"],
"chain-b": ["main"],
"entrypoint": ["TestIncentivizedInterchainAccountsTestSuite"],
"test": [
"TestMsgSendTx_SuccessfulBankSend_Incentivized",
"TestMsgSendTx_FailedBankSend_Incentivized"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"chain-a": ["main"],
"chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1"],
"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"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1"],
"chain-b": ["main"],
"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"]
}
15 changes: 15 additions & 0 deletions .github/compatibility-test-matrices/main/transfer-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"chain-a": ["main"],
"chain-b": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"],
"entrypoint": ["TestTransferTestSuite"],
"test": [
"TestMsgTransfer_Succeeds_Nonincentivized",
"TestMsgTransfer_Fails_InvalidAddress",
"TestMsgTransfer_Timeout_Nonincentivized",
"TestMsgTransfer_WithMemo",
"TestSendEnabledParam",
"TestReceiveEnabledParam"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
15 changes: 15 additions & 0 deletions .github/compatibility-test-matrices/main/transfer-chain-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"chain-a": ["main", "v5.1.0", "v5.0.1", "v4.2.0", "v4.1.1", "v3.4.0", "v3.3.1", "v2.5.0", "v2.4.2"],
"chain-b": ["main"],
"entrypoint": ["TestTransferTestSuite"],
"test": [
"TestMsgTransfer_Succeeds_Nonincentivized",
"TestMsgTransfer_Fails_InvalidAddress",
"TestMsgTransfer_Timeout_Nonincentivized",
"TestMsgTransfer_WithMemo",
"TestSendEnabledParam",
"TestReceiveEnabledParam"
],
"chain-binary": ["simd"],
"chain-image": ["ghcr.io/cosmos/ibc-go-simd"]
}
4 changes: 3 additions & 1 deletion .github/workflows/e2e-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- release/v5.0.x
- release/v5.1.x
- release/v6.0.x
- main

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
- release/v5.0.x
- release/v5.1.x
- release/v6.0.x
- main
steps:
- uses: actions/checkout@v3
if: env.RELEASE_BRANCH == matrix.release-branch
Expand Down Expand Up @@ -161,4 +163,4 @@ jobs:
uses: ./.github/workflows/e2e-compatibility-workflow-call.yaml
with:
test-file-directory: "${{ needs.determine-test-directory.outputs.test-directory }}"
test-suite: "ica-gov-chain-a"
test-suite: "ica-gov-chain-a"