Files
coverlet/build.yml
T
Marco Rossignoli b4701d260b Update debug guide for local collector (#536)
Update debug docs
2019-09-09 12:02:43 +02:00

22 lines
546 B
YAML

steps:
- task: UseDotNet@2
inputs:
version: 2.2.401
displayName: Install .NET Core SDK
- script: dotnet restore
displayName: Restore packages
- script: dotnet build -c $(BuildConfiguration) --no-restore
displayName: Build
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: test
arguments: -c $(BuildConfiguration) --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Include=[coverlet.*]*
testRunTitle: $(Agent.JobName)
- script: dotnet pack -c $(BuildConfiguration)
displayName: Pack