From 6fc093c8a0b550ec64269d843fe67d167fe3ece0 Mon Sep 17 00:00:00 2001 From: William Wong Date: Wed, 6 Dec 2023 07:36:22 -0800 Subject: [PATCH] Add branch coverage --- .github/workflows/pull-request-validation.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml index b9b4e1822f..17731e156b 100644 --- a/.github/workflows/pull-request-validation.yml +++ b/.github/workflows/pull-request-validation.yml @@ -352,12 +352,12 @@ jobs: --output-file lcov.info - if: always() - name: Print lcov coverage list - run: lcov --list lcov.info + name: Print coverage list + run: lcov --rc lcov_branch_coverage=1 --list lcov.info - if: always() - name: Print lcov coverage summary - run: lcov --summary lcov.info + name: Print coverage summary + run: lcov --rc lcov_branch_coverage=1 --summary lcov.info | tee $GITHUB_STEP_SUMMARY - if: always() name: Upload merged test results