From 7439e4f61acec25d2ca50fd0ad12c19fd3c3b91c Mon Sep 17 00:00:00 2001 From: William Wong Date: Wed, 6 Dec 2023 08:18:10 -0800 Subject: [PATCH] Better print coverage --- .github/workflows/pull-request-validation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml index 17731e156b..418bc52adc 100644 --- a/.github/workflows/pull-request-validation.yml +++ b/.github/workflows/pull-request-validation.yml @@ -357,7 +357,10 @@ jobs: - if: always() name: Print coverage summary - run: lcov --rc lcov_branch_coverage=1 --summary lcov.info | tee $GITHUB_STEP_SUMMARY + run: | + echo \`\`\` >> $GITHUB_STEP_SUMMARY + lcov --rc lcov_branch_coverage=1 --summary lcov.info | tee --append $GITHUB_STEP_SUMMARY + echo \`\`\` >> $GITHUB_STEP_SUMMARY - if: always() name: Upload merged test results