Skip to content

Commit

Permalink
Test fix sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
G43riko committed Oct 11, 2024
1 parent 7524542 commit 1fda3f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
run: "deno task coverage:lcov"
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: my-custom-directory
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ sonar.projectVersion=0.0.9
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set.
sonar.sources=workspaces/enums/src,workspaces/utils/src
sonar.sources=./workspaces/enums/src,./workspaces/utils/src
sonar.test.inclusions=**/*.spec.ts,**/*.spec.tsx

#exclusions
sonar.exclusions=src/**/*.spec.ts
# sonar.exclusions=src/**/*.spec.ts

0 comments on commit 1fda3f3

Please sign in to comment.