From fe2a0974a8e930c101fd3ba2170c12cd5c6b7a91 Mon Sep 17 00:00:00 2001 From: Hoan Nguyen Date: Thu, 18 Jul 2024 14:39:36 +0700 Subject: [PATCH] again --- .github/workflows/ui-ci-build.yml | 3 +-- marketplace-ui/sonar-project.properties | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ui-ci-build.yml b/.github/workflows/ui-ci-build.yml index 5e29e8d06..e0595292c 100644 --- a/.github/workflows/ui-ci-build.yml +++ b/.github/workflows/ui-ci-build.yml @@ -51,11 +51,10 @@ jobs: projectBaseDir: ./marketplace-ui args: -Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }} + -Dsonar.javascript.lcov.reportPaths=${{ github.workspace }}/marketplace-ui/coverage/lcov.info - name: SonarQube Quality Gate check id: sonarqube-quality-gate-check uses: sonarsource/sonarqube-quality-gate-action@master - with: - scanMetadataReportFile: ./marketplace-ui/.scannerwork/coverage/lcov.info timeout-minutes: 5 env: SONAR_TOKEN: ${{ env.SONAR_TOKEN }} diff --git a/marketplace-ui/sonar-project.properties b/marketplace-ui/sonar-project.properties index e2453c704..829f41157 100644 --- a/marketplace-ui/sonar-project.properties +++ b/marketplace-ui/sonar-project.properties @@ -2,4 +2,3 @@ sonar.sources=src sonar.tests=src sonar.exclusions=**/node_modules/**, src/assets/**, **/*.html, **/*.scss, src/app/shared/mocks/**, **/*.constant.ts, **/*.enum.ts, **/*.routes.ts, **/*.model.ts, **/*.config.ts, src/environments/** sonar.test.inclusions=**/*.spec.ts -sonar.typescript.lcov.reportPaths=coverage/lcov.info \ No newline at end of file