Update pr.yml
This commit is contained in:
@@ -36,7 +36,17 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
- name: SonarCloud Scan
|
||||
uses: SonarSource/sonarcloud-github-action@master
|
||||
uses: SonarSource/sonarcloud-github-action@3.0.0
|
||||
with:
|
||||
projectBaseDir: client
|
||||
args: >
|
||||
-Dsonar.organization=ricardo-campos-org
|
||||
-Dsonar.projectKey=ricardo-campos-org_react-typescript-todolist
|
||||
-Dsonar.python.coverage.reportPaths=coverage.xml
|
||||
-Dsonar.sources=src/
|
||||
-Dsonar.test.exclusions=tests/**
|
||||
-Dsonar.tests=src/tests/
|
||||
-Dsonar.verbose=true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user