Skip to content

Commit

Permalink
fix path; include branch coverage again
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Oct 30, 2024
1 parent 344a3b6 commit 07e005b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cargo_llvm_cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion scripts/simtest/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 07e005b

Please sign in to comment.