Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Support icad compatibility tests (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton authored Nov 29, 2022
1 parent f0cb46c commit 3080978
Show file tree
Hide file tree
Showing 15 changed files with 252 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.1.x/ica-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.1.7"],
"chain-b": ["v0.1.7", "v0.4.1", "v0.3.5", "v0.2.5"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.1.x/ica-chain-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.1.7", "v0.4.1", "v0.3.5", "v0.2.5"],
"chain-b": ["v0.1.7"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.2.x/ica-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.2.5"],
"chain-b": ["v0.2.5", "v0.4.1", "v0.3.5", "v0.1.7"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.2.x/ica-chain-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.2.5", "v0.4.1", "v0.3.5", "v0.1.7"],
"chain-b": ["v0.2.5"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.2.5"],
"chain-b": ["v0.2.5", "v0.4.1", "v0.3.5"],
"entrypoint": ["TestIncentivizedInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulBankSend_Incentivized",
"TestMsgSubmitTx_FailedBankSend_Incentivized"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.2.5", "v0.4.1", "v0.3.5"],
"chain-b": ["v0.2.5"],
"entrypoint": ["TestIncentivizedInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulBankSend_Incentivized",
"TestMsgSubmitTx_FailedBankSend_Incentivized"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.3.x/ica-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.3.5"],
"chain-b": ["v0.3.5", "v0.4.1", "v0.2.5", "v0.1.7"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.3.x/ica-chain-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.3.5", "v0.4.1", "v0.2.5", "v0.1.7"],
"chain-b": ["v0.3.5"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.3.5"],
"chain-b": ["v0.3.5", "v0.4.1", "v0.2.5"],
"entrypoint": ["TestIncentivizedInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulBankSend_Incentivized",
"TestMsgSubmitTx_FailedBankSend_Incentivized"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.3.5", "v0.4.1", "v0.2.5"],
"chain-b": ["v0.3.5"],
"entrypoint": ["TestIncentivizedInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulBankSend_Incentivized",
"TestMsgSubmitTx_FailedBankSend_Incentivized"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.4.x/ica-chain-a.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.4.1"],
"chain-b": ["v0.4.1", "v0.3.5", "v0.2.5", "v0.1.7"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
11 changes: 11 additions & 0 deletions .github/compatibility-test-matrices/v0.4.x/ica-chain-b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.4.1", "v0.3.5", "v0.2.5", "v0.1.7"],
"chain-b": ["v0.4.1"],
"entrypoint": ["TestInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulTransfer",
"TestMsgSubmitTx_FailedTransfer_InsufficientFunds"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.4.1"],
"chain-b": ["v0.4.1", "v0.3.5", "v0.2.5"],
"entrypoint": ["TestIncentivizedInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulBankSend_Incentivized",
"TestMsgSubmitTx_FailedBankSend_Incentivized"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"chain-a": ["v0.4.1", "v0.3.5", "v0.2.5"],
"chain-b": ["v0.4.1"],
"entrypoint": ["TestIncentivizedInterTxTestSuite"],
"test": [
"TestMsgSubmitTx_SuccessfulBankSend_Incentivized",
"TestMsgSubmitTx_FailedBankSend_Incentivized"
],
"chain-binary": ["icad"],
"chain-image": ["ghcr.io/cosmos/ibc-go-icad"]
}
98 changes: 98 additions & 0 deletions .github/workflows/e2e-compatibility.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Compatibility E2E

on:
workflow_dispatch:

env:
REGISTRY: ghcr.io
ORG: cosmos
IMAGE_NAME: ibc-go-icad

jobs:
# v0.1.x / ibc-go v3
ica-chain-a-v0-1-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.1.x
test-suite: ica-chain-a

ica-chain-b-v0-1-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.1.x
test-suite: ica-chain-b

# v0.2.x / ibc-go v4
ica-chain-a-v0-2-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.2.x
test-suite: ica-chain-a

ica-chain-b-v0-2-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.2.x
test-suite: ica-chain-b

incentivized-ica-chain-a-v0-2-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.2.x
test-suite: incentivized-ica-chain-a

incentivized-ica-chain-b-v0-2-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.2.x
test-suite: incentivized-ica-chain-b

# v0.3.x / ibc-go v5
ica-chain-a-v0-3-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.3.x
test-suite: ica-chain-a

ica-chain-b-v0-3-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.3.x
test-suite: ica-chain-b

incentivized-ica-chain-a-v0-3-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.3.x
test-suite: incentivized-ica-chain-a

incentivized-ica-chain-b-v0-3-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.3.x
test-suite: incentivized-ica-chain-b

# v0.4.x / ibc-go v6
ica-chain-a-v0-4-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.4.x
test-suite: ica-chain-a

ica-chain-b-v0-4-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.4.x
test-suite: ica-chain-b

incentivized-ica-chain-a-v0-4-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.4.x
test-suite: incentivized-ica-chain-a

incentivized-ica-chain-b-v0-4-x:
uses: cosmos/ibc-go/.github/workflows/e2e-compatibility-workflow-call.yaml@main
with:
test-file-directory: v0.4.x
test-suite: incentivized-ica-chain-b

0 comments on commit 3080978

Please sign in to comment.