Skip to content

Commit

Permalink
add sonar cloud settings
Browse files Browse the repository at this point in the history
Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 committed Sep 27, 2024
1 parent d2a2d51 commit b619992
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/BuildAndRun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
source /opt/ros/${{ matrix.rosdistro }}/setup.bash
source install/local_setup.bash
colcon test --event-handlers console_cohesion+ --packages-select ${{ steps.list_packages.outputs.package_list }}
colcon lcov-result --packages-select cpp_mock_scenarios
colcon lcov-result --packages-select ${{ steps.list_packages.outputs.package_list }}
shell: bash

- name: Show test result
Expand Down
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ sonar.organization=tier4
sonar.projectName=scenario_simulator_v2
sonar.projectVersion=1.0

sonar.sources=src
sonar.sources=/src

# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

# sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.cfamily.gcov.reportsPath=/lcov/total_coverage.info

Check warning on line 13 in sonar-project.properties

View workflow job for this annotation

GitHub Actions / spell-check

Unknown word (cfamily)

Check warning on line 13 in sonar-project.properties

View workflow job for this annotation

GitHub Actions / spell-check

Unknown word (cfamily)

0 comments on commit b619992

Please sign in to comment.