Skip to content

Commit

Permalink
Merge pull request #4197 from oasisprotocol/ptrus/feature/bump-tarpaulin
Browse files Browse the repository at this point in the history
rust: bump tarpaulin to 0.18.0
  • Loading branch information
ptrus authored Aug 11, 2021
2 parents 27f38aa + 3f01ac2 commit 5a88c9b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .buildkite/code.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,10 @@ steps:
<<: *docker_plugin_sgx

####################################
# Rust coverage job (only on master)
# Rust coverage job.
####################################

- label: Coverage Rust crates
branches: master stable/*
command:
# Build storage interoperability test helpers first.
- make build-helpers
Expand Down
3 changes: 3 additions & 0 deletions .buildkite/rust/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@ git checkout -B ${BUILDKITE_BRANCH}
# Calculate coverage.
set +x
cargo tarpaulin \
--locked \
--ignore-tests \
--out Xml \
--all \
--avoid-cfg-tarpaulin \
--exclude simple-keyvalue \
--exclude-files '*generated*' \
--exclude-files tests \
--exclude-files runtime/src/storage/mkvs/interop \
--exclude-files tools \
--coveralls ${coveralls_api_token} \
-v
set -x
1 change: 1 addition & 0 deletions .changelog/4197.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rust/ci: bump tarpaulin to 0.18.0
2 changes: 1 addition & 1 deletion docker/testing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN wget -O codecov https://codecov.io/bash && \

# Install tarpaulin.
RUN RUSTFLAGS="--cfg procmacro2_semver_exempt" \
cargo install --version 0.16.0 cargo-tarpaulin
cargo install --version 0.18.0 cargo-tarpaulin

0 comments on commit 5a88c9b

Please sign in to comment.