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