Browse Source

Merge branch 'develop' into cwgoes/timestamp-in-evidence

pull/1780/head
Ethan Buchman 7 years ago
committed by GitHub
parent
commit
a1b8579591
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 24 deletions
  1. +5
    -5
      .circleci/config.yml
  2. +13
    -2
      Makefile
  3. +0
    -11
      tests/test.sh
  4. +0
    -6
      tests/test_cover.sh

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

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

+ 13
- 2
Makefile View File

@ -82,9 +82,20 @@ test_race:
@echo "==> Running go test --race"
@go test -v -race $(PACKAGES)
test_integrations:
@bash test.sh
### three tests tested by Jenkins
test_cover:
@ bash tests/test_cover.sh
test_apps:
# test the counter using a go test script
@ bash tests/test_app/test.sh
test_cli:
# test the cli against the examples in the tutorial at tendermint.com
@ bash tests/test_cli/test.sh
fmt:
@ go fmt ./...
########################################
### Formatting, linting, and vetting


+ 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

test.sh → tests/test_cover.sh View File


Loading…
Cancel
Save