diff --git a/ci/docker-rust/Dockerfile b/ci/docker-rust/Dockerfile index 9d2f131269b300..3a521842362ec1 100644 --- a/ci/docker-rust/Dockerfile +++ b/ci/docker-rust/Dockerfile @@ -13,6 +13,7 @@ RUN set -x && \ apt install -y \ buildkite-agent \ cmake \ + lcov \ libclang-common-7-dev \ llvm-7 \ rsync \ diff --git a/ci/test-nightly.sh b/ci/test-nightly.sh index 001ea2fb50f4ef..da2ac00e35259c 100755 --- a/ci/test-nightly.sh +++ b/ci/test-nightly.sh @@ -38,12 +38,13 @@ fi _ cargo cov clean _ cargo cov test --lib _ ./grcov . -t lcov > lcov.info +_ genhtml -o target/cov/report --show-details --highlight --ignore-errors source --legend lcov.info +upload_ci_artifact target/cov/report/* if [[ -z "$CODECOV_TOKEN" ]]; then echo CODECOV_TOKEN undefined - genhtml -o target/cov/report --show-details --highlight --ignore-errors source --legend lcov.info - echo --- Coverage report: - ls -l target/cov/report/index.html else - bash <(curl -s https://codecov.io/bash) -X gcov + true + # TODO: Why doesn't codecov grok our lcov files? + #bash <(curl -s https://codecov.io/bash) -X gcov fi