-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (60 loc) · 2.45 KB
/
run-ibc-go-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
name: Run ibc-go E2E Tests
on:
schedule:
- cron: '0 0 * * *'
push:
jobs:
e2e:
runs-on: ubuntu-latest
strategy:
fail-fast: false # ensure that a single test failure doesn't cause all tests to fail
matrix:
# entrypoint corresponds to the test function in the test files which fall under the e2e directory.
# test is the name of the test function to be run.
# see the e2e docs https://github.com/cosmos/ibc-go/tree/main/e2e for more details.
include:
- test: TestClientUpdateProposal_Succeeds
entrypoint: TestClientTestSuite
- test: TestMsgTransfer_Succeeds_Nonincentivized
entrypoint: TestTransferTestSuite
- test: TestMsgTransfer_Fails_InvalidAddress
entrypoint: TestTransferTestSuite
- test: TestMsgTransfer_Timeout_Nonincentivized
entrypoint: TestTransferTestSuite
- test: TestSendEnabledParam
entrypoint: TestTransferTestSuite
- test: TestReceiveEnabledParam
entrypoint: TestTransferTestSuite
- test: TestMsgPayPacketFee_AsyncSingleSender_Succeeds
entrypoint: TestIncentivizedTransferTestSuite
- test: TestMsgPayPacketFee_InvalidReceiverAccount
entrypoint: TestIncentivizedTransferTestSuite
- test: TestMultiMsg_MsgPayPacketFeeSingleSender
entrypoint: TestIncentivizedTransferTestSuite
- test: TestMsgPayPacketFee_SingleSender_TimesOut
entrypoint: TestIncentivizedTransferTestSuite
- test: TestPayPacketFeeAsync_SingleSender_NoCounterPartyAddress
entrypoint: TestIncentivizedTransferTestSuite
- test: TestMsgPayPacketFee_AsyncMultipleSenders_Succeeds
entrypoint: TestIncentivizedTransferTestSuite
steps:
- name: Checkout the ibc-go repo.
uses: actions/checkout@v3
with:
repository: cosmos/ibc-go
- name: Install Go 1.18.
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Run E2E tests with custom chain image.
run: |
cd e2e
make e2e-test entrypoint=${{ matrix.entrypoint }} test=${{ matrix.test}}
env:
# Configure this however you like in order to specify your own custom image and tags.
CHAIN_IMAGE: ghcr.io/cosmos/ibc-go-simd
CHAIN_A_TAG: main
CHAIN_B_TAG: main
CHAIN_BINARY: simd
RLY_TAG: v2.0.0