Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Oct 28, 2024
1 parent 4927c2f commit cc5ac66
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/cargo-llvm-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,15 @@ jobs:
- name: Remove old coverage artifacts
run: |
if [ -d "./target/llvm-cov-target" ]; then
echo "Found artifacts"
rm -rf ./target/llvm-cov-target
echo "Removed"
echo "Removed old artifacts"
else
echo "No artifacts found"
fi
- name: Run code coverage for nextest
- name: Run code coverage (nextest)
run: IOTA_SKIP_SIMTESTS=1 cargo llvm-cov --ignore-run-fail --lcov --output-path lcov.info nextest

- name: Upload report to Codecov for nextest
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # pin@v4
with:
files: lcov.info

- name: Upload coverage report (nextest)
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # pin@v4
if: always()
Expand All @@ -84,7 +78,7 @@ jobs:
# echo "Previous Coverage artifacts removed"
# fi

# - name: Run code coverage for simtest
# - name: Run code coverage (simtest)
# run: |
# git clean -fd
# ./scripts/simtest/codecov.sh
Expand Down

0 comments on commit cc5ac66

Please sign in to comment.