Skip to content

Commit

Permalink
braught back the code coverage check
Browse files Browse the repository at this point in the history
  • Loading branch information
psarras committed Jul 26, 2024
1 parent 307b11e commit 962a3c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ steps:
env:
MSBUILDDISABLENODEREUSE: 1

#- powershell: |
# dotnet test --collect:"XPlat Code Coverage" /TestAdapterPath:$env:UserProfile\.nuget\packages\coverlet.collector\6.0.0\build --results-directory .\results\adsecgh .\AdSecGHTests\bin\x64\Release\net48\AdSecGHTests.dll
# dotnet test --collect:"XPlat Code Coverage" /TestAdapterPath:$env:UserProfile\.nuget\packages\coverlet.collector\6.0.0\build --results-directory .\results\integration .\IntegrationTests\bin\x64\Release\net48\IntegrationTests.dll
# displayName: dotnet tests
# failOnStderr: true
- powershell: |
dotnet test --collect:"XPlat Code Coverage" /TestAdapterPath:$env:UserProfile\.nuget\packages\coverlet.collector\6.0.0\build --results-directory .\results\adsecgh .\AdSecGHTests\bin\x64\Release\net48\AdSecGHTests.dll
dotnet test --collect:"XPlat Code Coverage" /TestAdapterPath:$env:UserProfile\.nuget\packages\coverlet.collector\6.0.0\build --results-directory .\results\integration .\IntegrationTests\bin\x64\Release\net48\IntegrationTests.dll
displayName: dotnet tests
failOnStderr: true

- powershell: |
if (200 -ne (Invoke-WebRequest -Uri https://codecov.io/validate -Body (Get-Content -Raw -LiteralPath .\codecov.yml) -Method post | Select-Object StatusCode).StatusCode) {
Expand Down

0 comments on commit 962a3c7

Please sign in to comment.