Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
entrypoint: shfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenz committed Dec 25, 2023
1 parent 8ae31a5 commit 71e856f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,23 @@ RUST_BACKTRACE=1

su -p -c "cargo llvm-cov --workspace clean"

# Run regular test:
: Run regular test:
cargo llvm-cov --workspace --all-features --no-fail-fast --no-report -- "${TEST_ARGS[@]}"
if [ "$DOCTEST" = "true" ]; then
# Run doc tests:
cargo llvm-cov --workspace --all-features --no-fail-fast --no-report --doc -- "${TEST_ARGS[@]}"
else
: skipping coverage of doc tests
fi
# Generate report including doc tests:
: Generate report including doc tests:
cargo llvm-cov --no-run --doctests "${OUTPUT_ARGS[@]}"
# Print summary including doc tests:
: Print summary including doc tests:
cargo llvm-cov --no-run --doctests

if [ -n "$OUTPUT_PATH" ]; then
sed -i "s@$GITHUB_WORKSPACE/@@" "$OUTPUT_PATH"

echo "report=${OUTPUT_PATH}" > "$GITHUB_OUTPUT"
echo "report=${OUTPUT_PATH}" >"$GITHUB_OUTPUT"

if [ -n "$RUNNER_DEBUG" ]; then
cat "$OUTPUT_PATH"
Expand Down

0 comments on commit 71e856f

Please sign in to comment.