From 7aec2f2e56d6610a91cf425220c3bd2f694900fc Mon Sep 17 00:00:00 2001 From: Monica Moniot Date: Fri, 19 Jan 2024 11:07:57 -0500 Subject: [PATCH] fixed drone tests --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4b0b898..272c09f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,7 @@ steps: from_secret: codecov_token commands: - cargo build - - CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='coverage/cargo-test-%p-%m.profraw' cargo test --all-targets + - CARGO_INCREMENTAL=0 RUSTFLAGS='--all-targets -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_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='coverage/cargo-test-%p-%m.profraw' cargo test --all-targets + - CARGO_INCREMENTAL=0 RUSTFLAGS='--all-targets -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