From bf55cfadd92b5dee79425579e1910c2220e05204 Mon Sep 17 00:00:00 2001 From: Marco Randazzo Date: Wed, 15 Nov 2023 12:22:57 +0100 Subject: [PATCH] improved sonarcloud coverage --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4499f62a7..ea9f90a2ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2007,7 +2007,14 @@ jobs: -Dsonar.coverageReportPaths=build/coverage.xml \ -Dsonar.junit.reportPaths=build/JUnitTestResults.xml \ -Dsonar.exclusions="src/yarp*/**/* src/carriers/**/* src/devices/**/* src/idls/**/* src/libyarp*/**/* src/robottestingframework-plugins/**/* tests/**/*" \ - -Dsonar.coverage.exclusions="src/yarp*/**/* src/carriers/**/* src/devices/**/* src/idls/**/* src/libyarp*/**/* src/robottestingframework-plugins/**/*" \ + -Dsonar.coverage.exclusions="\ + src/devices/*/tests/*,\ + src/carriers/*/tests/*,\ + src/portmonitors/*/tests/*,\ + tests/**/*,\ + src/yarp*/**/*,\ + robottestingframework-plugins/**/*\ + " \ -Dsonar.branch.longLivedBranches.regex="^(master|yarp-.+)$" \ ${SONAR_TESTS_CMD_ARG} \ ${SONAR_PROJECT_NAME_CMD_ARG} \