Skip to content

Commit

Permalink
Run tests against simapp44 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Oct 22, 2021
1 parent bf77ff9 commit b25fe21
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ workflows:
- test:
requires:
- build
matrix:
parameters:
simapp: ["42", "44"]
- test-node-v14:
requires:
- build
Expand Down Expand Up @@ -61,6 +64,9 @@ jobs:
paths:
- packages/*/build/*
test:
parameters:
simapp:
type: string
machine:
# We can't use a containerized environment since it requires remote docker to start custom containers.
# However, we can't access the remote docker's network from the primary container. This is a
Expand Down Expand Up @@ -88,11 +94,11 @@ jobs:
background: true
- run:
name: Start simapp
command: ./scripts/simapp42/start.sh
command: ./scripts/simapp<< parameters.simapp >>/start.sh
background: true
- run:
name: Start slow simapp
command: ./scripts/simapp42/slow_start.sh
command: ./scripts/simapp<< parameters.simapp >>/slow_start.sh
background: true
- run:
name: Start Tendermint blockchains
Expand Down Expand Up @@ -146,13 +152,14 @@ jobs:
environment:
LAUNCHPAD_ENABLED: 1
ERC20_ENABLED: 1
SIMAPP42_ENABLED: 1
SLOW_SIMAPP42_ENABLED: 1
TENDERMINT_ENABLED: 1
SOCKETSERVER_ENABLED: 1
SKIP_BUILD: 1
WASMD_ENABLED: 1
command: yarn test --stream
command: |
[ "<< parameters.simapp >>" = "42" ] && export SIMAPP42_ENABLED=1 SLOW_SIMAPP42_ENABLED=1
[ "<< parameters.simapp >>" = "44" ] && export SIMAPP44_ENABLED=1 SLOW_SIMAPP44_ENABLED=1
yarn test --stream
- run:
name: Run CLI selftest
working_directory: packages/cli
Expand Down

0 comments on commit b25fe21

Please sign in to comment.