Skip to content

Commit ee41b8d

Browse files
Find compile_commands.json
1 parent 64634b7 commit ee41b8d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ jobs:
6969
sed -i '/colcon build/ s/$/ --parallel-workers 4 --packages-up-to $PACKAGES --packages-ignore parking_planner parking_planner_nodes/' /home/carma/.ci-image/engineering_tools/code_coverage/make_with_coverage.bash
7070
make_with_coverage.bash -m -e /opt/carma/ -o ./coverage_reports/gcov
7171
- run: ls -la && pwd
72+
- name: Check compile_commands.json
73+
continue-on-error: true
74+
run: |
75+
echo "Looking for compile_commands.json file"
76+
find /opt/carma -name compile_commands.json
77+
find "/opt/carma" -name "compile_commands.json"
7278
- name: Run C++ Tests
7379
continue-on-error: true
7480
run: |
@@ -81,9 +87,9 @@ jobs:
8187
continue-on-error: true
8288
shell: bash
8389
run: |
84-
find "$GITHUB_WORKSPACE" -name "coverage.xml"
90+
find "/opt/carma" -name "coverage.xml"
8591
ls -la && pwd
86-
find "$GITHUB_WORKSPACE" -name "gcov"
92+
find "/opt/carma" -name "gcov"
8793
- name: Run SonarScanner
8894
uses: usdot-fhwa-stol/actions/sonar-scanner@main
8995
with:

.sonarqube/sonar-scanner.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
sonar.projectKey=usdot-fhwa-stol_autoware-ai
1818
sonar.organization=usdot-fhwa-stol
1919
sonar.cfamily.cache.enabled=false
20-
sonar.cfamily.compile-commands=/opt/carma/src/autoware.ai/build/compile_commands.json
20+
sonar.cfamily.compile-commands=/opt/carma/build/compile_commands.json
2121
sonar.host.url=https://sonarcloud.io
2222
sonar.cfamily.gcov.reportsPath=/opt/carma/coverage_reports/gcov
2323
sonar.coverageReportPaths=/opt/carma/coverage_reports/gcov/coverage.xml

0 commit comments

Comments
 (0)