Skip to content

Commit 3dc3706

Browse files
Expanded test detection to also cover playwright tests
1 parent 2f384f3 commit 3dc3706

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/perform-static-analysis/action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ runs:
9191
/d:sonar.host.url="https://sonarcloud.io" \
9292
/d:sonar.cs.opencover.reportsPaths="${{ inputs.coverage_path }}/*.xml" \
9393
/d:sonar.cs.cobertura.reportsPaths="${{ inputs.coverage_path }}/cobertura.xml" \
94-
/d:sonar.coverage.exclusions="**/*Tests.cs,**/Tests/**/*.cs" \
94+
/d:sonar.coverage.exclusions="**/*Tests.cs,**/Tests/**/*.cs,**/test/**/*.ts,**/tests/**/*.ts,**/*.spec.ts,**/*.test.ts" \
95+
/d:sonar.tests="tests" \
96+
/d:sonar.test.inclusions="**/*.spec.ts,**/*.test.ts,**/tests/**/*.ts" \
9597
/d:sonar.verbose=true \
9698
/d:sonar.scm.provider=git \
9799
/d:sonar.scm.revision=${{ github.sha }} \

0 commit comments

Comments
 (0)