Skip to content

Commit c3bc2bc

Browse files
committed
Test fix sonar
1 parent 7524542 commit c3bc2bc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
run: "deno task coverage:lcov"
2727
- name: SonarCloud Scan
2828
uses: SonarSource/sonarcloud-github-action@master
29+
with:
30+
projectBaseDir: .
2931
env:
3032
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3133
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-project.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ sonar.projectVersion=0.0.9
1010
sonar.javascript.lcov.reportPaths=./coverage/lcov.info
1111
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
1212
# This property is optional if sonar.modules is set.
13-
sonar.sources=workspaces/enums/src,workspaces/utils/src
13+
sonar.sources=./workspaces/enums/src,./workspaces/utils/src
14+
sonar.test.inclusions=**/*.spec.ts,**/*.spec.tsx
1415

1516
#exclusions
16-
sonar.exclusions=src/**/*.spec.ts
17+
# sonar.exclusions=src/**/*.spec.ts

0 commit comments

Comments
 (0)