From 22a676ce80a1dddfb630fb07de618f9dc786dabb Mon Sep 17 00:00:00 2001 From: Jeff Butler Date: Wed, 10 Aug 2022 15:13:16 -0400 Subject: [PATCH] Add clarifying comment regarding mvnw location --- .github/workflows/sonar.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 13a5c9ef58..d66b9103c3 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -40,6 +40,8 @@ jobs: java-version: 17 distribution: zulu - name: Analyze with SonarCloud + # Note: the mvnw executable is in the parent directory - not this working directory. We only do sonar on the + # core project, not all the test projects. run: ../mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_generator -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}