mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
test: circle artifacts
This commit is contained in:
parent
faf23aa0d4
commit
6bc3b8dc6d
@ -29,8 +29,9 @@ dependencies:
|
||||
|
||||
test:
|
||||
override:
|
||||
- "cd $REPO && make test_integrations":
|
||||
- "cd $REPO && set -o pipefail && make test_integrations | tee ~/test_integrations.log":
|
||||
timeout: 1800
|
||||
- "cp ~/test_integrations.log $CIRCLE_ARTIFACTS"
|
||||
post:
|
||||
- "cd $REPO && bash <(curl -s https://codecov.io/bash)"
|
||||
|
||||
|
@ -5,7 +5,7 @@ PKGS=$(go list github.com/tendermint/tendermint/... | grep -v /vendor/)
|
||||
set -e
|
||||
echo "mode: atomic" > coverage.txt
|
||||
for pkg in ${PKGS[@]}; do
|
||||
go test -timeout 20m -race -coverprofile=profile.out -covermode=atomic $pkg
|
||||
go test -timeout 30m -race -coverprofile=profile.out -covermode=atomic $pkg
|
||||
if [ -f profile.out ]; then
|
||||
tail -n +2 profile.out >> coverage.txt;
|
||||
rm profile.out
|
||||
|
Loading…
x
Reference in New Issue
Block a user