mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Add COSMOS_ENABLED to ci
This commit is contained in:
parent
8610da30d2
commit
93d554805f
@ -30,8 +30,37 @@ jobs:
|
||||
- ~/.cache/yarn
|
||||
- run:
|
||||
command: yarn build
|
||||
test:
|
||||
docker:
|
||||
- image: circleci/node:10
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Version information
|
||||
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
|
||||
- restore_cache:
|
||||
name: Restore Yarn Package Cache
|
||||
keys:
|
||||
- yarn-packages-{{ checksum "yarn.lock" }}
|
||||
- run:
|
||||
name: Install Dependencies
|
||||
command: yarn install --frozen-lockfile
|
||||
- save_cache:
|
||||
name: Save Yarn Package Cache
|
||||
key: yarn-packages-{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- ~/.cache/yarn
|
||||
- run:
|
||||
command: docker pull cosmwasm/wasmd:latest
|
||||
- run:
|
||||
command: ./projects/scripts/cosm/start.sh
|
||||
- run:
|
||||
command: sleep 15
|
||||
- run:
|
||||
environment: COSMOS_ENABLED=1
|
||||
command: yarn test
|
||||
- run:
|
||||
command: ./projects/scripts/cosm/stop.sh
|
||||
lint:
|
||||
docker:
|
||||
- image: circleci/node:10
|
||||
|
Loading…
x
Reference in New Issue
Block a user