Attempt coverage reporting
This commit is contained in:
parent
b6b5455917
commit
aebc47ad55
|
@ -29,15 +29,13 @@ maybe_cargo_install cov
|
||||||
|
|
||||||
_ cargo cov clean
|
_ cargo cov clean
|
||||||
_ cargo cov test --lib
|
_ cargo cov test --lib
|
||||||
|
_ cargo cov report
|
||||||
|
|
||||||
# TODO: Fix `cargo cov report` in Docker.
|
echo --- Coverage report:
|
||||||
#_ cargo cov report
|
ls -l target/cov/report/index.html
|
||||||
#
|
|
||||||
#echo --- Coverage report:
|
if [[ -z "$CODECOV_TOKEN" ]]; then
|
||||||
#ls -l target/cov/report/index.html
|
echo CODECOV_TOKEN undefined
|
||||||
#
|
else
|
||||||
#if [[ -z "$CODECOV_TOKEN" ]]; then
|
bash <(curl -s https://codecov.io/bash) -x 'llvm-cov-6.0 gcov'
|
||||||
# echo CODECOV_TOKEN undefined
|
fi
|
||||||
#else
|
|
||||||
# bash <(curl -s https://codecov.io/bash) -x 'llvm-cov-6.0 gcov'
|
|
||||||
#fi
|
|
||||||
|
|
Loading…
Reference in New Issue