26 lines
856 B
YAML
26 lines
856 B
YAML
#############################################################################
|
|
## ASP.NET Core ##
|
|
## Build and test ASP.NET Core projects targeting .NET Core. ##
|
|
## Runs tests, creates NuGet packages: ##
|
|
## https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core ##
|
|
#############################################################################
|
|
|
|
# Variables & their default values
|
|
variables:
|
|
buildConfiguration: 'Release'
|
|
|
|
jobs:
|
|
- job: Linux
|
|
pool:
|
|
vmImage: 'ubuntu-latest'
|
|
steps:
|
|
- task: UseDotNet@2
|
|
displayName: 'Use .Net Core sdk 3.1.100'
|
|
inputs:
|
|
version: 3.1.100
|
|
- task: DotNetCoreCLI@2
|
|
displayName: 'dotnet test'
|
|
inputs:
|
|
command: test
|
|
projects: '**\Umbraco.Tests.UnitTests.csproj'
|