Skip to content

Commit 6d5f3e5

Browse files
committed
chore: fix sonar line coverage
1 parent 5ee487f commit 6d5f3e5

File tree

6 files changed

+4
-102
lines changed

6 files changed

+4
-102
lines changed

.github/workflows/main.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,8 @@ jobs:
2727
- run: npm run bootstrap
2828
- run: npm run build
2929
- run: npm run test:cov
30-
- name: SonarCloud Scan 1
30+
- name: SonarCloud Scan
3131
uses: SonarSource/sonarcloud-github-action@master
3232
env:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3434
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
35-
with:
36-
projectBaseDir: packages/dockview-core/
37-
- name: SonarCloud Scan 2
38-
uses: SonarSource/sonarcloud-github-action@master
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
41-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
42-
with:
43-
projectBaseDir: packages/dockview/

.github/workflows/test.yml

-32
This file was deleted.

packages/dockview-core/sonar-project.properties

-27
This file was deleted.

packages/dockview/sonar-project.properties

-27
This file was deleted.

packages/dockview/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"jsx": "react",
77
"rootDir": "src"
88
},
9-
"references": [
10-
{ "dockview-core": "../dockview-core" }
11-
],
9+
"paths": {
10+
"dockview-core": "../dockview-core"
11+
},
1212
"include": ["src"],
1313
"exclude": ["**/node_modules", "src/__tests__"]
1414
}

sonar-project.properties

-3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,3 @@ sonar.sources=packages
1717

1818
# Encoding of the source code. Default is default system encoding
1919
sonar.sourceEncoding=UTF-8
20-
21-
sonar.verbose=true
22-

0 commit comments

Comments
 (0)