Commit 1dffd9e 1 parent 0493d29 commit 1dffd9e Copy full SHA for 1dffd9e
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,15 @@ jobs:
59
59
60
60
- task : CmdLine@2
61
61
inputs :
62
- script : ' dotnet-coverage collect "dotnet test **/test/**/*.csproj --configuration Debug --no-build --framework net8.0" -f xml -o "wiremock-coverage.xml"'
62
+ script : |
63
+ dotnet-coverage collect "dotnet test ./test/WireMock.Net.Tests/WireMock.Net.Tests.csproj --configuration Debug --no-build --framework net8.0" -f xml -o "wiremock-coverage-1.xml"
64
+ dotnet-coverage collect "dotnet test ./test/WireMock.Net.Aspire.Tests/WireMock.Net.Aspire.Tests.csproj --configuration Debug --no-build --framework net8.0" -f xml -o "wiremock-coverage-2.xml"
63
65
displayName : ' Execute Unit Tests with Coverage'
64
66
65
67
- task : CmdLine@2
66
68
displayName : ' Merge coverage files'
67
69
inputs :
68
- script : ' dotnet coverage merge *.wiremock-coverage.xml --recursive --output ./test/wiremock-coverage.xml --output-format xml'
70
+ script : ' dotnet coverage merge *.wiremock-coverage-* .xml --recursive --output ./test/wiremock-coverage.xml --output-format xml'
69
71
70
72
- script : |
71
73
dotnet sonarscanner end /d:sonar.token="$(SONAR_TOKEN)"
You can’t perform that action at this time.
0 commit comments