mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Start wasmd in CI
This commit is contained in:
parent
2668e48c6f
commit
255fc2c0ed
@ -93,6 +93,10 @@ jobs:
|
||||
name: Start launchpad
|
||||
command: ./scripts/launchpad/start.sh
|
||||
background: true
|
||||
- run: # start early for less wait time below
|
||||
name: Start wasmd
|
||||
command: ./scripts/wasmd/start.sh
|
||||
background: true
|
||||
- run:
|
||||
name: Start simapp
|
||||
command: ./scripts/simapp/start.sh
|
||||
@ -144,6 +148,9 @@ jobs:
|
||||
- run:
|
||||
name: Initialize launchpad (deploy contracts and friends)
|
||||
command: ./scripts/launchpad/init.sh
|
||||
- run:
|
||||
name: Initialize wasmd (deploy contracts and friends)
|
||||
command: ./scripts/wasmd/init.sh
|
||||
- run:
|
||||
name: Start socket server
|
||||
command: ./scripts/socketserver/start.sh
|
||||
@ -155,6 +162,7 @@ jobs:
|
||||
TENDERMINT_ENABLED: 1
|
||||
SOCKETSERVER_ENABLED: 1
|
||||
SKIP_BUILD: 1
|
||||
WASMD_ENABLED: 1
|
||||
command: yarn test --stream
|
||||
- run:
|
||||
name: Run CLI selftest
|
||||
@ -176,11 +184,13 @@ jobs:
|
||||
./bin/cosmwasm-cli --init examples/local_faucet.ts --code "process.exit(0)"
|
||||
./bin/cosmwasm-cli --init examples/mask.ts --code "process.exit(0)"
|
||||
- run:
|
||||
command: ./scripts/launchpad/stop.sh
|
||||
- run:
|
||||
command: ./scripts/tendermint/all_stop.sh
|
||||
- run:
|
||||
command: ./scripts/socketserver/stop.sh
|
||||
name: Stop chains
|
||||
command: |
|
||||
./scripts/socketserver/stop.sh
|
||||
./scripts/tendermint/all_stop.sh
|
||||
./scripts/simapp/stop.sh
|
||||
./scripts/wasmd/stop.sh
|
||||
./scripts/launchpad/stop.sh
|
||||
test-chrome:
|
||||
machine:
|
||||
# We can't use a containerized environment since it requires remote docker to start custom containers.
|
||||
@ -202,6 +212,10 @@ jobs:
|
||||
name: Start launchpad
|
||||
command: ./scripts/launchpad/start.sh
|
||||
background: true
|
||||
- run: # start early for less wait time below
|
||||
name: Start wasmd
|
||||
command: ./scripts/wasmd/start.sh
|
||||
background: true
|
||||
- run:
|
||||
name: Start simapp
|
||||
command: ./scripts/simapp/start.sh
|
||||
@ -253,6 +267,9 @@ jobs:
|
||||
- run:
|
||||
name: Initialize launchpad (deploy contracts and friends)
|
||||
command: ./scripts/launchpad/init.sh
|
||||
- run:
|
||||
name: Initialize wasmd (deploy contracts and friends)
|
||||
command: ./scripts/wasmd/init.sh
|
||||
- run:
|
||||
name: Start socket server
|
||||
command: ./scripts/socketserver/start.sh
|
||||
@ -264,13 +281,16 @@ jobs:
|
||||
TENDERMINT_ENABLED: 1
|
||||
SOCKETSERVER_ENABLED: 1
|
||||
SKIP_BUILD: 1
|
||||
WASMD_ENABLED: 1
|
||||
command: yarn test-chrome
|
||||
- run:
|
||||
command: ./scripts/launchpad/stop.sh
|
||||
- run:
|
||||
command: ./scripts/tendermint/all_stop.sh
|
||||
- run:
|
||||
command: ./scripts/socketserver/stop.sh
|
||||
name: Stop chains
|
||||
command: |
|
||||
./scripts/socketserver/stop.sh
|
||||
./scripts/tendermint/all_stop.sh
|
||||
./scripts/simapp/stop.sh
|
||||
./scripts/wasmd/stop.sh
|
||||
./scripts/launchpad/stop.sh
|
||||
coverage:
|
||||
machine:
|
||||
# We can't use a containerized environment since it requires remote docker to start custom containers.
|
||||
@ -292,6 +312,10 @@ jobs:
|
||||
name: Start launchpad
|
||||
command: ./scripts/launchpad/start.sh
|
||||
background: true
|
||||
- run: # start early for less wait time below
|
||||
name: Start wasmd
|
||||
command: ./scripts/wasmd/start.sh
|
||||
background: true
|
||||
- run:
|
||||
name: Start simapp
|
||||
command: ./scripts/simapp/start.sh
|
||||
@ -343,6 +367,9 @@ jobs:
|
||||
- run:
|
||||
name: Initialize launchpad (deploy contracts and friends)
|
||||
command: ./scripts/launchpad/init.sh
|
||||
- run:
|
||||
name: Initialize wasmd (deploy contracts and friends)
|
||||
command: ./scripts/wasmd/init.sh
|
||||
- run:
|
||||
name: Start socket server
|
||||
command: ./scripts/socketserver/start.sh
|
||||
@ -354,16 +381,19 @@ jobs:
|
||||
TENDERMINT_ENABLED: 1
|
||||
SOCKETSERVER_ENABLED: 1
|
||||
SKIP_BUILD: 1
|
||||
WASMD_ENABLED: 1
|
||||
command: yarn coverage
|
||||
- run:
|
||||
name: Upload coverage report
|
||||
command: npx codecov
|
||||
- run:
|
||||
command: ./scripts/launchpad/stop.sh
|
||||
- run:
|
||||
command: ./scripts/tendermint/all_stop.sh
|
||||
- run:
|
||||
command: ./scripts/socketserver/stop.sh
|
||||
name: Stop chains
|
||||
command: |
|
||||
./scripts/socketserver/stop.sh
|
||||
./scripts/tendermint/all_stop.sh
|
||||
./scripts/simapp/stop.sh
|
||||
./scripts/wasmd/stop.sh
|
||||
./scripts/launchpad/stop.sh
|
||||
docs-build:
|
||||
docker:
|
||||
- image: circleci/node:10-buster
|
||||
|
Loading…
x
Reference in New Issue
Block a user