diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fbc691258f..3b294390542 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1980,7 +1980,7 @@ jobs: - name: Capture coverage info run: | - cd build + (cd build && \ gcovr --exclude="../extern/*" --sonarqube --branches --output coverage.xml --root .. .) - name: Print coverage info file diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 9ccb7c9dd9b..76199e2b0df 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -361,7 +361,7 @@ jobs: - name: Capture coverage info run: | - cd build + (cd build && \ gcovr --exclude="../extern/*" --sonarqube --branches --output coverage.xml --root .. .) - name: Print coverage info file