Skip to content

feat: icon bridge migration #815

feat: icon bridge migration

feat: icon bridge migration #815

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