mirror of https://github.com/winsw/winsw
commit
d2e33f1749
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"codecov.tool": {
|
||||
"version": "1.12.1",
|
||||
"commands": [
|
||||
"codecov"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -45,8 +45,12 @@ jobs:
|
|||
packagesToPack: WinSW.nuspec
|
||||
versioningScheme: byEnvVar
|
||||
versionEnvVar: BuildVersion
|
||||
- script: dotnet test -c $(BuildConfiguration) --no-build src\Test\winswTests\winswTests.csproj
|
||||
- script: dotnet test -c $(BuildConfiguration) --collect "XPlat Code Coverage" --no-build src\Test\winswTests\winswTests.csproj
|
||||
displayName: Test
|
||||
- script: dotnet tool restore
|
||||
displayName: Restore tools
|
||||
- script: dotnet tool run codecov -- -f "src\**\TestResults\*\coverage.cobertura.xml" --required
|
||||
displayName: Upload code coverage reports
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: Publish .NET 2.0
|
||||
inputs:
|
||||
|
|
Loading…
Reference in New Issue