From 1e28ca6ab8fc940fc1473a53e43edb01f8b58aea Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Mon, 4 Nov 2024 18:53:44 +0100 Subject: [PATCH] fix output dir --- .github/workflows/cargo_llvm_cov.yml | 8 ++++---- scripts/simtest/simtest-cov.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cargo_llvm_cov.yml b/.github/workflows/cargo_llvm_cov.yml index 39d48fb3b7e..d5e0154e0cf 100644 --- a/.github/workflows/cargo_llvm_cov.yml +++ b/.github/workflows/cargo_llvm_cov.yml @@ -73,8 +73,8 @@ jobs: rm "$file" fi done - cargo llvm-cov report --lcov --output-path target/llvm-cov/nextest.info - if [ -f "target/llvm-cov/nextest.info" ]; then + cargo llvm-cov report --lcov --output-path target/llvm-cov-target/nextest.info + if [ -f "target/llvm-cov-target/nextest.info" ]; then echo "Nextest coverage created." exit 0 else @@ -87,7 +87,7 @@ jobs: git clean -fd set +e ./scripts/simtest/simtest-cov.sh - if [ -f "target/llvm-cov/simtest.info" ]; then + if [ -f "target/llvm-cov-target/simtest.info" ]; then echo "Simtest coverage created." exit 0 else @@ -109,6 +109,6 @@ jobs: uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4 with: name: coverage_report - path: ./target/llvm-cov/coverage_report + path: ./target/llvm-cov-target/coverage_report if-no-files-found: error retention-days: 30 diff --git a/scripts/simtest/simtest-cov.sh b/scripts/simtest/simtest-cov.sh index 8d4939fb7d2..7c695d074f4 100755 --- a/scripts/simtest/simtest-cov.sh +++ b/scripts/simtest/simtest-cov.sh @@ -28,7 +28,7 @@ find target/llvm-cov-target -name '*.profraw' | while read file; do fi done -cargo llvm-cov report --lcov --output-path target/llvm-cov/simtest.info +cargo llvm-cov report --lcov --output-path target/llvm-cov-target/simtest.info # remove the patch git checkout .cargo/config Cargo.toml Cargo.lock