Browse Source

tests: more smoothness

pull/1780/head
Zach Ramsay 7 years ago
parent
commit
e19cedc4b4
3 changed files with 6 additions and 17 deletions
  1. +5
    -5
      .circleci/config.yml
  2. +1
    -1
      Makefile
  3. +0
    -11
      tests/test.sh

+ 5
- 5
.circleci/config.yml View File

@ -46,7 +46,7 @@ jobs:
paths: paths:
- /go/src/github.com/tendermint/abci - /go/src/github.com/tendermint/abci
test_integration:
test_apps:
<<: *defaults <<: *defaults
steps: steps:
- attach_workspace: - attach_workspace:
@ -56,10 +56,10 @@ jobs:
- restore_cache: - restore_cache:
key: v1-tree-{{ .Environment.CIRCLE_SHA1 }} key: v1-tree-{{ .Environment.CIRCLE_SHA1 }}
- run: - run:
name: Run integration tests
name: Run apps tests
command: | command: |
export PATH="$GOBIN:$PATH" export PATH="$GOBIN:$PATH"
bash tests/test.sh
bash tests/test_app/test.sh
test_cover: test_cover:
<<: *defaults <<: *defaults
@ -111,9 +111,9 @@ workflows:
- test_cover: - test_cover:
requires: requires:
- setup_dependencies - setup_dependencies
- test_integration:
- test_apps:
requires: requires:
- setup_dependencies - setup_dependencies
- upload_coverage: - upload_coverage:
requires: requires:
- test_integration
- test_cover

+ 1
- 1
Makefile View File

@ -86,7 +86,7 @@ test_race:
test_cover: test_cover:
@ bash tests/test_cover.sh @ bash tests/test_cover.sh
test_app:
test_apps:
# test the counter using a go test script # test the counter using a go test script
@ bash tests/test_app/test.sh @ bash tests/test_app/test.sh


+ 0
- 11
tests/test.sh View File

@ -1,11 +0,0 @@
#! /bin/bash
set -e
# test the counter using a go test script
bash tests/test_app/test.sh
# test the cli against the examples in the tutorial at tendermint.com
# TODO: make these less fragile
# bash tests/test_cli/test.sh

Loading…
Cancel
Save