diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-24 10:40:44 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-24 10:40:44 +0100 |
commit | e4a9132ab5c684be9743823df7c31d12da1e3f3b (patch) | |
tree | 56e3c11a8fed0008913e2884d438d20913d4cf15 /.github/workflows/ci.yml | |
parent | ebabb2f535c3a8ca86d9ba21cfb99ff237ab621d (diff) | |
download | libquotient-e4a9132ab5c684be9743823df7c31d12da1e3f3b.tar.gz libquotient-e4a9132ab5c684be9743823df7c31d12da1e3f3b.zip |
CI: Add missing coverage files
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a3a0708..72deb803 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -217,9 +217,11 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | mkdir .coverage && pushd .coverage - find $BUILD_PATH/CMakeFiles/Quotient.dir/lib -name '*.gcda' -print0 \ + find $BUILD_PATH -name '*.gcda' -print0 \ | xargs -0 $COV -s $GITHUB_WORKSPACE -pr popd + # Drop coverage of the test source code, which is obviously 100% + rm -f quotest* autotests* $HOME/.sonar/sonar-scanner*/bin/sonar-scanner \ -Dsonar.host.url="$SONAR_SERVER_URL" \ -Dsonar.cfamily.build-wrapper-output="$BUILD_PATH/sonar" \ |