Skip to content

Commit 7135be8

Browse files
committed
fix project basedir?
1 parent da6bdd3 commit 7135be8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ jobs:
182182
# Don't run if SONAR_TOKEN is not set (i.e. PR job from a fork)
183183
if: matrix.env.CCOV && steps.ici.outputs.target_test_results == '0' && env.SONAR_TOKEN != ''
184184
uses: SonarSource/sonarqube-scan-action@v6.0.0
185+
with:
186+
projectBaseDir: ${{ env.BASEDIR }}/target_ws
185187
- name: Prepare target_ws for cache
186188
if: always() && !matrix.env.CCOV
187189
run: |

sonar-project.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ sonar.projectKey=ros-planning_moveit2
22
sonar.organization=moveit
33

44
sonar.python.version=3
5-
sonar.sources=.work/target_ws/src
5+
sonar.sources=./src
66
sonar.cfamily.gcov.reportPath=.work/target_ws/coverage.info
77
sonar.scm.exclusions.disabled=true
8-
sonar.exclusions=.work/target_ws/src/moveit2/moveit_planners/test_configs/prbt_ikfast_manipulator_plugin/src/prbt_manipulator_ikfast_solver.cpp
9-
sonar.cfamily.compile-commands=.work/target_ws/build/compile_commands.json
8+
sonar.exclusions=./src/moveit2/moveit_planners/test_configs/prbt_ikfast_manipulator_plugin/src/prbt_manipulator_ikfast_solver.cpp
9+
sonar.cfamily.compile-commands=./build/compile_commands.json

0 commit comments

Comments
 (0)