From ffdb308d5456fa99aaadbba5983d458cff92a505 Mon Sep 17 00:00:00 2001 From: manuraf Date: Tue, 7 Nov 2023 17:31:55 +0100 Subject: [PATCH] fix launch verify --- .github/workflows/code_review_ms.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/code_review_ms.yml b/.github/workflows/code_review_ms.yml index c9a909c9e..a541e077d 100644 --- a/.github/workflows/code_review_ms.yml +++ b/.github/workflows/code_review_ms.yml @@ -28,11 +28,6 @@ jobs: sparse-checkout: | apps/onboarding-ms libs/ - - run: | - ls . - ls ./apps - ls ./apps/onboarding-ms - - name: Set up JDK 17 uses: actions/setup-java@v3 @@ -42,7 +37,7 @@ jobs: - name: Build and analyze on Pull Requests shell: bash - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar + run: mvn --projects :onboarding-ms --also-make verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.organization=pagopa -Dsonar.projectKey=pagopa_selfcare-onboarding -Dsonar.coverage.jacoco.xmlReportPaths=./target/jacoco-report/jacoco.xml @@ -52,7 +47,6 @@ jobs: -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} -Dsonar.pullrequest.branch=${{ github.head_ref }} -Dsonar.pullrequest.base=${{ github.base_ref }} - --file onboarding-ms/pom.xml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file