diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b27b74c8e..eb0aadb52 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -48,6 +48,5 @@ jobs: run: | .\.sonar\scanner\dotnet-sonarscanner begin /k:"VirtualPhotonics_Vts" /o:"virtualphotonics" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml dotnet build src\VtsLibrary.sln /t:Rebuild /p:Configuration=Release - dotnet test src\VtsLibrary.sln -c:Release -l "console;verbosity=quiet" - dotnet-coverage collect 'dotnet test src\VtsLibrary.sln' -f xml -o 'coverage.xml' + dotnet-coverage collect 'dotnet test src\VtsLibrary.sln -c:Release' -f xml -o 'coverage.xml' .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"