forked from FastEndpoints/FastEndpoints
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipeline.yml
45 lines (39 loc) · 1.04 KB
/
azure-pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
trigger:
tags:
include:
- "v*"
branches:
exclude:
- "*"
pool:
vmImage: "ubuntu-latest"
variables:
buildConfiguration: "Release"
steps:
- task: UseDotNet@2
displayName: "Use .Net Core SDK 7.x"
inputs:
packageType: "sdk"
version: "7.x"
includePreviewVersions: false
- task: DotNetCoreCLI@2
displayName: "Run Tests"
inputs:
command: "test"
projects: "**/*[Tt]ests/*.csproj"
arguments: "--configuration $(BuildConfiguration)"
workingDirectory: "Tests"
# - task: DotNetCoreCLI@2
# displayName: "Make Nuget Package"
# inputs:
# command: "pack"
# packagesToPack: "Src/**/*.csproj"
# versioningScheme: "off"
# verbosityPack: "Minimal"
# - task: NuGetCommand@2
# displayName: "Publish To Nuget"
# inputs:
# command: "push"
# packagesToPush: "$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg"
# nuGetFeedType: "external"
# publishFeedCredentials: "nuget-djnitehawk"