Browse Source

ci: Reduce log output in test_cover (#2105)

This commit makes it such that circle CI only shows the module whose
tests it is currently running in the log, unless a test fails. For each
failing test, it will display the name of all failing tests, along with
their log output. This is done to make
our log output far more scrollable. We lose no information in debugging.
pull/2117/head
Dev Ojha 6 years ago
committed by Alexander Simmerl
parent
commit
231cdc1320
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .circleci/config.yml

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

@ -147,7 +147,7 @@ jobs:
for pkg in $(go list github.com/tendermint/tendermint/... | circleci tests split --split-by=timings); do
id=$(basename "$pkg")
GOCACHE=off go test -v -timeout 5m -race -coverprofile=/tmp/workspace/profiles/$id.out -covermode=atomic "$pkg" | tee "/tmp/logs/$id-$RANDOM.log"
GOCACHE=off go test -timeout 5m -race -coverprofile=/tmp/workspace/profiles/$id.out -covermode=atomic "$pkg" | tee "/tmp/logs/$id-$RANDOM.log"
done
- persist_to_workspace:
root: /tmp/workspace


Loading…
Cancel
Save