diff --git a/.github/workflows/cargo_llvm_cov.yml b/.github/workflows/cargo_llvm_cov.yml index e26cba773e5..fb157913f9f 100644 --- a/.github/workflows/cargo_llvm_cov.yml +++ b/.github/workflows/cargo_llvm_cov.yml @@ -60,14 +60,14 @@ jobs: IOTA_SKIP_SIMTESTS=1 cargo +nightly llvm-cov --ignore-run-fail --branch --html nextest -vv -E '!package(iota-bridge)' - name: Pack report - run: cd target/llvm-cov && tar -czvf nextest_coverage_report.tgz ./html/ + run: cd target/llvm-cov/html && tar -czvf ../nextest_coverage_report.tgz ./ # TEMP - name: Upload report uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4 with: name: nextest_coverage_report.tgz - path: ./nextest_coverage_report.tgz + path: ./target/llvm-cov/nextest_coverage_report.tgz if-no-files-found: error retention-days: 1 @@ -77,13 +77,13 @@ jobs: ./scripts/simtest/codecov.sh - name: Pack report (simtest) - run: cd target/llvm-cov && tar -czvf simtest_coverage_report.tgz ./html/ + run: cd target/llvm-cov/html && tar -czvf ../simtest_coverage_report.tgz ./ # TEMP - name: Upload report (simtest) uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4 with: name: simtest_coverage_report.tgz - path: ./simtest_coverage_report.tgz + path: ./target/llvm-cov/simtest_coverage_report.tgz if-no-files-found: error retention-days: 1 diff --git a/scripts/simtest/codecov.sh b/scripts/simtest/codecov.sh index 6ea0f24a891..0d628954879 100755 --- a/scripts/simtest/codecov.sh +++ b/scripts/simtest/codecov.sh @@ -18,7 +18,7 @@ export SIMTEST_STATIC_INIT_MOVE=$root_dir"/examples/move/basics" cargo llvm-cov clean -MSIM_WATCHDOG_TIMEOUT_MS=60000 MSIM_TEST_SEED=1 cargo llvm-cov --ignore-run-fail --html nextest --cargo-profile simulator +MSIM_WATCHDOG_TIMEOUT_MS=60000 MSIM_TEST_SEED=1 cargo +nightly llvm-cov --ignore-run-fail --branch --html nextest --cargo-profile simulator # remove the patch git checkout .cargo/config Cargo.toml Cargo.lock