Adding database configuration #1

Merged
csimonapastore merged 8 commits from connections into main 2025-02-21 18:42:34 +01:00
Showing only changes of commit 3ed9a15d09 - Show all commits

View File

@@ -48,7 +48,7 @@ jobs:
MONGO_DB_SERVER: ${{ secrets.MONGO_DB_SERVER }} MONGO_DB_SERVER: ${{ secrets.MONGO_DB_SERVER }}
shell: powershell shell: powershell
run: | run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"csimonapastore_BasicDotnetTemplate" /o:"csimonapastore-github" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.exclusions="**/Migrations/**.cs" .\.sonar\scanner\dotnet-sonarscanner begin /k:"csimonapastore_BasicDotnetTemplate" /o:"csimonapastore-github" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.exclusions="**/Migrations/**.cs, **/Models/Database/**.cs"
dotnet restore dotnet restore
dotnet build --no-incremental dotnet build --no-incremental
dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml" dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"