Skip to content

Commit

Permalink
ci: Fix the collection of coverage information
Browse files Browse the repository at this point in the history
Informations from the source files were missing in the coverage
report. Therefore `gcovr` is started from the root directory
of the project.
  • Loading branch information
LukasWoodtli authored and rettichschnidi committed Sep 26, 2023
1 parent 54249b5 commit f4bf639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function run_tests() {
fi

#see https://github.com/koalaman/shellcheck/wiki/SC2089
gcovr_opts=(-r "${REPO_ROOT_DIR}/build-wakaama" \
gcovr_opts=(-r "${REPO_ROOT_DIR}/" \
--keep `: # Needed for SonarQube` \
--exclude "${REPO_ROOT_DIR}"/examples \
--exclude "${REPO_ROOT_DIR}"/tests)
Expand Down

0 comments on commit f4bf639

Please sign in to comment.