From e5e1b637baf00befe6ab7681842309e2b4006a92 Mon Sep 17 00:00:00 2001 From: Kevin Netherton Date: Fri, 10 May 2024 09:26:48 -0700 Subject: [PATCH] fix: comment out the sonar tests --- .github/workflows/analysis.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 95c7e98..00e574f 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -40,22 +40,22 @@ jobs: - dir: frontend token: SONAR_TOKEN_FRONTEND steps: - - uses: bcgov-nr/action-test-and-analyse@v1.2.1 - with: - commands: | - npm ci - npm run test:cov - dir: ${{ matrix.dir }} - node_version: "20" - sonar_args: > - -Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts - -Dsonar.organization=bcgov-sonarcloud - -Dsonar.projectKey=quickstart-openshift_${{ matrix.dir }} - -Dsonar.sources=src - -Dsonar.tests.inclusions=**/*spec.ts - -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info - sonar_token: ${{ secrets[matrix.token] }} - triggers: ('${{ matrix.dir }}/') + # - uses: bcgov-nr/action-test-and-analyse@v1.2.1 + # with: + # commands: | + # npm ci + # npm run test:cov + # dir: ${{ matrix.dir }} + # node_version: "20" + # sonar_args: > + # -Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts + # -Dsonar.organization=bcgov-sonarcloud + # -Dsonar.projectKey=quickstart-openshift_${{ matrix.dir }} + # -Dsonar.sources=src + # -Dsonar.tests.inclusions=**/*spec.ts + # -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info + # sonar_token: ${{ secrets[matrix.token] }} + # triggers: ('${{ matrix.dir }}/') # https://github.com/marketplace/actions/aqua-security-trivy trivy: