-
Notifications
You must be signed in to change notification settings - Fork 46
214 lines (211 loc) · 6.59 KB
/
integration-tests.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
name: Integration tests
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Build Integration Tests
run: cd integration_tests && cargo check --all --verbose
native_token:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Test the native token features of the EVM
run: tests/all-up-test-ci.sh NATIVE_TOKEN
lockup:
runs-on: ubuntu-latest
needs: native_token
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Lock up the chain and ensure funds are not transferrable
run: tests/all-up-test-ci.sh LOCKUP
microtx_fees:
runs-on: ubuntu-latest
needs: native_token
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Assert that fees are collected by the microtx module
run: tests/all-up-test-ci.sh MICROTX_FEES
erc20_conversion:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Test the erc20 module's token conversion functionality
run: tests/all-up-test-ci.sh ERC20_CONVERSION
liquid_accounts:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Test the microtx module's liquid infrastructure accounts functions
run: tests/all-up-test-ci.sh LIQUID_ACCOUNTS
ica_host:
#needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Test the interchain accounts host module on Althea-L1
run: tests/all-up-test-ci.sh ICA_HOST
ONBOARDING_DEFAULT_PARAMS:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Starts the onboarding module with the default params
run: tests/all-up-test-ci.sh ONBOARDING_DEFAULT_PARAMS
ONBOARDING_DISABLED_WHITELISTED:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Starts the onboarding module disabled with a whitelisted channel
run: tests/all-up-test-ci.sh ONBOARDING_DISABLED_WHITELISTED
ONBOARDING_DISABLE_AFTER:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Starts the onboarding module permissively, but disables it after a transfer
run: tests/all-up-test-ci.sh ONBOARDING_DISABLE_AFTER
ONBOARDING_DELIST_AFTER:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Starts the onboarding module permissively, but removes the channel from the whilelist after a transfer
run: tests/all-up-test-ci.sh ONBOARDING_DELIST_AFTER
DEX:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Performs basic DEX tests
run: tests/all-up-test-ci.sh DEX
DEX_UPGRADE:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Tests the DEX callpath upgrade functionality
run: tests/all-up-test-ci.sh DEX_UPGRADE
DEX_SAFE_MODE:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Tests the DEX safe mode lockdown functionality
run: tests/all-up-test-ci.sh DEX_SAFE_MODE
DEX_OPS_PROPOSAL:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Tests the nativedex OpsProposal function
run: tests/all-up-test-ci.sh DEX_OPS_PROPOSAL
EVM_FEE_BURNING:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Checks that evm fees are truly burned
run: tests/all-up-test-ci.sh EVM_FEE_BURNING
UPGRADE:
needs: native_token
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v5
- uses: Swatinem/rust-cache@v2
with:
workspaces: integration_tests/
cache-on-failure: true
- name: Tests the Neutrino upgrade
run: tests/run-upgrade-test.sh v1.4.0