Skip to content

Commit

Permalink
use sonarcube v3 - upd config
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Feb 4, 2025
1 parent cb4cee3 commit dc198f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/aps-cypress-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,20 @@ jobs:
if: always()
run: |
# Rewrite the paths as the coverage starts with '../app'!
sed -e 's/..\/app/./g' ${{ github.workspace }}/e2e/coverage/lcov.info > ${{ github.workspace }}/lcov.info
sed -e 's/..\/app/./g' ${{ github.workspace }}/e2e/coverage/lcov.info > lcov.info
- name: SonarCloud Scan
if: always()
uses: sonarsource/sonarqube-scan-action@v4.2.1
uses: sonarsource/sonarqube-scan-action@v3.2.1
with:
args: >
-Dsonar.organization=bcgov-oss
-Dsonar.projectKey=aps-portal-e2e
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.projectBaseDir=api-services-portal/src
-Dsonar.projectBaseDir=src
-Dsonar.sources=.
-Dsonar.exclusions=nextapp/**,mocks/**,test/**,tools/**,*.json,*.js
-Dsonar.javascript.lcov.reportPaths=${{ github.workspace }}/lcov.info
-Dsonar.javascript.lcov.reportPaths=lcov.info
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit dc198f1

Please sign in to comment.