mirror of
https://github.com/zerotier/crypto-glue.git
synced 2026-05-22 16:28:47 -07:00
helps to generate coverage files
This commit is contained in:
+2
-2
@@ -16,7 +16,7 @@ steps:
|
||||
from_secret: codecov_token
|
||||
commands:
|
||||
- cargo build
|
||||
- cargo test
|
||||
- CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='coverage/cargo-test-%p-%m.profraw' cargo test
|
||||
- mkdir -p target/coverage
|
||||
- grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/tests.lcov
|
||||
- codecov -B ${DRONE_BRANCH} -b ${DRONE_BUILD_NUMBER} -f target/coverage/tests.lcov -F amd64
|
||||
@@ -42,7 +42,7 @@ steps:
|
||||
from_secret: codecov_token
|
||||
commands:
|
||||
- cargo build
|
||||
- cargo test
|
||||
- CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='coverage/cargo-test-%p-%m.profraw' cargo test
|
||||
- mkdir -p target/coverage
|
||||
- grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/tests.lcov
|
||||
- codecov -B ${DRONE_BRANCH} -b ${DRONE_BUILD_NUMBER} -f target/coverage/tests.lcov -F arm64
|
||||
|
||||
Reference in New Issue
Block a user