-
Notifications
You must be signed in to change notification settings - Fork 15
64 lines (56 loc) · 1.54 KB
/
e2e_integretion_light_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
name: E2E / integration light tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
bmr_e2e:
name: BMR e2e tests
runs-on: ubuntu-latest
container:
image: iconbridge/build
options: --user 1001
steps:
- uses: actions/checkout@v3
- name: Run test
working-directory: ./cmd/e2etest
run: |
go run main.go
solidity_integration:
name: Solidity BMC integration tests
runs-on: integration-test
container:
image: iconbridge/build
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install yarn (BMC)
working-directory: ./solidity/bmc
run: yarn install
- name: Compile BMC Solidity contracts
working-directory: ./solidity/bmc
run: yarn contract:compile
- name: BMC solidity test
working-directory: ./solidity/bmc
run: |
truffle develop &
sleep 10
yarn test:integration
- name: Install yarn (BTS)
working-directory: ./solidity/bts
run: yarn install
- name: Compile BTS Solidity contracts
working-directory: ./solidity/bts
run: yarn contract:compile
- name: Check contract size
working-directory: ./solidity/bts
run: yarn contract:size
- name: BTS solidity test
working-directory: ./solidity/bts
run: |
truffle develop &
sleep 10
yarn test:unit