From ca6cd6c134f43168421ba12c01a2248f31e758a4 Mon Sep 17 00:00:00 2001 From: chris-tier4 Date: Wed, 2 Oct 2024 20:05:40 +0900 Subject: [PATCH] test: try with fixed dirs --- .github/workflows/BuildAndRun.yaml | 8 ++++---- sonar-project.properties | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/BuildAndRun.yaml b/.github/workflows/BuildAndRun.yaml index b7445f652da..2684d5b2091 100644 --- a/.github/workflows/BuildAndRun.yaml +++ b/.github/workflows/BuildAndRun.yaml @@ -80,7 +80,7 @@ jobs: - name: Build with SonarCloud Build Wrapper run: | source /opt/ros/${{ matrix.rosdistro }}/setup.bash - build-wrapper-linux-x86-64 --out-dir bw-output \ + build-wrapper-linux-x86-64 --out-dir src/scenario_simulator_v2/bw-output \ colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release -DBUILD_CPP_MOCK_SCENARIOS=ON -DBUILD_TESTING=true -DCMAKE_CXX_FLAGS='-fprofile-arcs -ftest-coverage' -DCMAKE_C_FLAGS='-fprofile-arcs -ftest-coverage' --packages-up-to ${{ steps.list_packages.outputs.package_list }} shell: bash @@ -122,6 +122,6 @@ jobs: with: projectBaseDir: ./src/scenario_simulator_v2 - - name: Debug - if: ${{ always() }} - uses: mxschmitt/action-tmate@v3 + # - name: Debug + # if: ${{ always() }} + # uses: mxschmitt/action-tmate@v3 diff --git a/sonar-project.properties b/sonar-project.properties index 99463b88e3e..357d3ca71cb 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -7,7 +7,7 @@ sonar.projectVersion=1.0 sonar.sources=. sonar.inclusions=**/src/**/*.cpp -sonar.exclusions=**/test/** +sonar.exclusions=**/test/**,**/mock/** # Encoding of the source code. Default is default system encoding sonar.sourceEncoding=UTF-8