/
githubmirror
/
etcd
Обзор
Документация
Войти
/
githubmirror
/
etcd
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.5.33
scripts/codecov_upload.sh
18 строк
520 B
Piotr Tabor
Reduce verbosity of coverage collection.
23 янв 2021, 10:59
23 янв 2021, 10:59
88ee005
Код
Авторство
О чём код?
#!/usr/bin/env bash # Script used to collect and upload test coverage (mostly by travis). # Usage ./test_coverage_upload.sh [log_file] set -o pipefail LOG_FILE=${1:-test-coverage.log} # We collect the coverage COVERDIR=covdir PASSES='build build_cov cov' ./test.sh 2>&1 | tee "${LOG_FILE}" test_success="$?" # We try to upload whatever we have: bash <(curl -s https://codecov.io/bash) -f ./covdir/all.coverprofile -cF all || exit 2 # Expose the original status of the test coverage execution. exit ${test_success}