From acece544b5c546e8b148534bd9a096cbce6c182a Mon Sep 17 00:00:00 2001 From: William Wong Date: Wed, 6 Dec 2023 07:12:14 -0800 Subject: [PATCH] Install lcov --- .github/workflows/pull-request-validation.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml index 264b1c09db..b9b4e1822f 100644 --- a/.github/workflows/pull-request-validation.yml +++ b/.github/workflows/pull-request-validation.yml @@ -314,6 +314,16 @@ jobs: # name: Print Cobertura branch coverage # run: gcovr cobertura-coverage.xml --branches --txt + # - name: Report coverage to pull request + # uses: zgosalvez/github-actions-report-lcov@77c3fa1e20d891bc83ec63b6b0e5ecf5ee1ced1e # 4.1.1 + # with: + # coverage-files: lcov-*.info + # github-token: ${{ secrets.GITHUB_TOKEN }} + # update-comment: true + + - name: Install lcov + run: sudo apt install -y lcov + - name: Merge lcov-*.info run: | lcov \