e438dbf568
Fix package links
27 lines
798 B
YAML
27 lines
798 B
YAML
steps:
|
|
- task: UseDotNet@2
|
|
inputs:
|
|
version: 2.2.402
|
|
displayName: Install .NET Core SDK
|
|
|
|
- task: UseDotNet@2
|
|
inputs:
|
|
version: 3.1.300
|
|
displayName: Install .NET Core SDK
|
|
|
|
- script: dotnet restore
|
|
displayName: Restore packages
|
|
|
|
- script: dotnet build -c $(BuildConfiguration) --no-restore
|
|
displayName: Build
|
|
|
|
- script: dotnet pack -c $(BuildConfiguration) --no-restore
|
|
displayName: Pack
|
|
|
|
- task: DotNetCoreCLI@2
|
|
displayName: Test
|
|
inputs:
|
|
command: test
|
|
arguments: -c $(BuildConfiguration) --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Include="[coverlet.collector]*%2c[coverlet.core]*%2c[coverlet.msbuild.tasks]*" /p:Exclude="[coverlet.core.tests.samples.netstandard]*%2c[coverlet.tests.xunit.extensions]*"
|
|
testRunTitle: $(Agent.JobName)
|