From 0b63d9ace010fc25cf1dc4e8d3aa3600fb9def7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Mon, 27 Feb 2023 01:18:46 +0100 Subject: [PATCH] Update build --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a1b05f..404d5c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,9 +18,10 @@ jobs: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Install sonar-scanner and build-wrapper uses: SonarSource/sonarcloud-github-c-cpp@v1 - - name: Install gcovr + - name: Install lcov & gcovr run: | - sudo apt-get install -y gcovr + sudo apt-get -y install lcov + sudo apt-get -y install gcovr - name: Tests & build-wrapper run: | mkdir build @@ -40,4 +41,4 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | sonar-scanner --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" \ - --define sonar.coverageReportPaths=coverage.xml + --define sonar.coverageReportPaths=tests/coverage.xml