Made init script in tests
This commit is contained in:
parent
088aee652d
commit
44ae80b6ef
|
@ -14,28 +14,7 @@ jobs:
|
|||
- checkout
|
||||
- run: git submodule update --init
|
||||
- setup_remote_docker
|
||||
- run: touch ./src/deploy/.keys.$TARGET_NETWORK
|
||||
- run: ./demo/start-environment.sh
|
||||
- run: touch ./src/test-services/.keys.$TARGET_NETWORK
|
||||
- run: ./src/test-services/ethereumSend/run.sh 0x4db6b4bd0a3fdc03b027a60f1c48f05c572312aa 100
|
||||
- run: ./src/test-services/ethereumSend/run.sh 0xf7ca4aed1795e424433498cef43f6a3825c88731 100
|
||||
- run: ./src/test-services/ethereumSend/run.sh 0xad6c8127143032d843a260c5d379d8d9b3d51f15 100
|
||||
- run: ./src/test-services/binanceSend/run.sh tbnb14r3z8xk7qsar3vwj05w8cd8gqwk7g6gfurlt5l 100 0.1
|
||||
- run: ./src/test-services/binanceSend/run.sh tbnb1efjg7xt98t67ql2cmwjc5860lgayet9l8m55ym 100 0.1
|
||||
- run: ./src/test-services/binanceSend/run.sh tbnb12epcy4p7ktas0nlyrfuektcyh0e83dwzuq73f4 100 0.1
|
||||
- run:
|
||||
command: ./demo/validator-demo.sh -d
|
||||
environment:
|
||||
N: 1
|
||||
- run:
|
||||
command: ./demo/validator-demo.sh -d
|
||||
environment:
|
||||
N: 2
|
||||
- run:
|
||||
command: ./demo/validator-demo.sh -d
|
||||
environment:
|
||||
N: 3
|
||||
- run: sleep 10
|
||||
- run: ./tests/init.sh
|
||||
- run:
|
||||
command: ./tests/run.sh
|
||||
environment:
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t tss -f ./src/tss/Dockerfile-local ./src/tss
|
||||
./demo/start-environment.sh
|
||||
echo "FOREIGN_PRIVATE_KEY=$FOREIGN_PRIVATE_KEY" > ./src/test-services/.keys.$TARGET_NETWORK
|
||||
./src/test-services/ethereumSend/run.sh 0x4db6b4bd0a3fdc03b027a60f1c48f05c572312aa 100
|
||||
./src/test-services/ethereumSend/run.sh 0xf7ca4aed1795e424433498cef43f6a3825c88731 100
|
||||
./src/test-services/ethereumSend/run.sh 0xad6c8127143032d843a260c5d379d8d9b3d51f15 100
|
||||
./src/test-services/binanceSend/run.sh tbnb14r3z8xk7qsar3vwj05w8cd8gqwk7g6gfurlt5l 100 0.1
|
||||
./src/test-services/binanceSend/run.sh tbnb1efjg7xt98t67ql2cmwjc5860lgayet9l8m55ym 100 0.1
|
||||
./src/test-services/binanceSend/run.sh tbnb12epcy4p7ktas0nlyrfuektcyh0e83dwzuq73f4 100 0.1
|
||||
N=1 ./demo/validator-demo.sh -d
|
||||
N=2 ./demo/validator-demo.sh -d
|
||||
N=3 ./demo/validator-demo.sh -d
|
||||
sleep 10
|
Loading…
Reference in New Issue