Skip to content

Commit

Permalink
Merge pull request #1398 from tier4/feature/sonar_cloud
Browse files Browse the repository at this point in the history
Feature/sonar cloud
  • Loading branch information
hakuturu583 authored Sep 27, 2024
2 parents 81fc52b + dcc4182 commit 385570c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
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
1 change: 1 addition & 0 deletions .github/workflows/custom_spell.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"AUTORCC",
"Canonicalized",
"canonicalizing",
"cfamily",
"classname",
"Cmyk",
"Dawid",
Expand Down
13 changes: 13 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
sonar.projectKey=tier4_scenario_simulator_v2
sonar.organization=tier4

# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=scenario_simulator_v2
sonar.projectVersion=1.0

sonar.sources=/src

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

sonar.cfamily.gcov.reportsPath=/lcov/total_coverage.info

0 comments on commit 385570c

Please sign in to comment.