fix
Some checks failed
SonarQube / Build and analyze (push) Failing after 2m57s

This commit is contained in:
Leonid Pershin
2025-10-21 03:29:15 +03:00
parent b8fc79992a
commit dab86d1c81
5 changed files with 309 additions and 8 deletions

16
sonar-project.properties Normal file
View File

@@ -0,0 +1,16 @@
# SonarQube project configuration
# Exclude auto-generated files and migrations from analysis
sonar.coverage.exclusions=**/Migrations/**/*.cs,**/Migrations/*.cs,**/*ModelSnapshot.cs
sonar.exclusions=**/Migrations/**/*.cs,**/obj/**,**/bin/**
# Exclude test projects from code coverage calculation
sonar.test.exclusions=**/*Tests.cs,**/ChatBot.Tests/**
# Include only C# files
sonar.sources=ChatBot/
sonar.tests=ChatBot.Tests/
# Code coverage report paths
sonar.cs.vscoveragexml.reportsPaths=coverage.xml
sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml