From 33f6e31fe40ab4a4b9838824cb12e1383001ba05 Mon Sep 17 00:00:00 2001 From: Etienne Bechara Date: Mon, 21 Oct 2024 22:23:52 -0300 Subject: [PATCH] fix: temp disable sonar --- .github/workflows/quality_control.yml | 78 +++++++++++++-------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/quality_control.yml b/.github/workflows/quality_control.yml index e691502..d1476a0 100644 --- a/.github/workflows/quality_control.yml +++ b/.github/workflows/quality_control.yml @@ -65,42 +65,42 @@ jobs: - name: Run Lint Check run: pnpm lint - sonar: - name: SonarQube Scan - runs-on: ubuntu-latest - needs: test - - steps: - - name: Checkout Code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Download Test Coverage - uses: actions/download-artifact@v3 - with: - name: test-coverage - - - name: Run SonarQube Scan - uses: sonarsource/sonarcloud-github-action@master - with: - args: > - -Dsonar.organization=${{ github.repository_owner }} - -Dsonar.projectKey=${{ github.event.repository.name }} - -Dsonar.pullrequest.key=${{ github.event.number }} - -Dsonar.pullrequest.branch=${{ github.HEAD_REF }} - -Dsonar.pullrequest.base=${{ github.BASE_REF }} - -Dsonar.sources=source - -Dsonar.tests=source - -Dsonar.test.inclusions=source/**/*.spec.ts - -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info - -Dsonar.testExecutionReportPaths=test-report.xml - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: https://sonarcloud.io - - - name: Run SonarQube Quality Gate - if: github.event.repository.name != 'master' && github.event.repository.name != 'beta' && github.event.repository.name != 'alpha' - uses: sonarsource/sonarqube-quality-gate-action@master - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # sonar: + # name: SonarQube Scan + # runs-on: ubuntu-latest + # needs: test + + # steps: + # - name: Checkout Code + # uses: actions/checkout@v3 + # with: + # fetch-depth: 0 + + # - name: Download Test Coverage + # uses: actions/download-artifact@v3 + # with: + # name: test-coverage + + # - name: Run SonarQube Scan + # uses: sonarsource/sonarcloud-github-action@master + # with: + # args: > + # -Dsonar.organization=${{ github.repository_owner }} + # -Dsonar.projectKey=${{ github.event.repository.name }} + # -Dsonar.pullrequest.key=${{ github.event.number }} + # -Dsonar.pullrequest.branch=${{ github.HEAD_REF }} + # -Dsonar.pullrequest.base=${{ github.BASE_REF }} + # -Dsonar.sources=source + # -Dsonar.tests=source + # -Dsonar.test.inclusions=source/**/*.spec.ts + # -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info + # -Dsonar.testExecutionReportPaths=test-report.xml + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # SONAR_HOST_URL: https://sonarcloud.io + + # - name: Run SonarQube Quality Gate + # if: github.event.repository.name != 'master' && github.event.repository.name != 'beta' && github.event.repository.name != 'alpha' + # uses: sonarsource/sonarqube-quality-gate-action@master + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}