Files
coverlet/build.yml
T
Marco Rossignoli 644f5a1f48 Update pinned sdk (#610)
Update pinned sdk
2019-11-08 09:39:39 +01:00

22 lines
546 B
YAML

steps:
- task: UseDotNet@2
inputs:
version: 2.2.402
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