forked from FastEndpoints/FastEndpoints
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipeline.yml
40 lines (35 loc) · 937 Bytes
/
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
trigger:
tags:
include:
- "v*"
branches:
exclude:
- "*"
pool:
vmImage: "ubuntu-latest"
variables:
buildConfiguration: "Release"
steps:
- task: UseDotNet@2
displayName: "Use .Net Core SDK 9.x"
inputs:
packageType: "sdk"
version: "9.x"
includePreviewVersions: true
- task: Bash@3
displayName: "Update xUnit Runner Config"
inputs:
targetType: 'inline'
script: |
echo '{
"parallelizeAssembly": false,
"parallelizeTestCollections": false,
"diagnosticMessages": false
}' > Tests/IntegrationTests/FastEndpoints/xunit.runner.json
- task: DotNetCoreCLI@2
displayName: "Run Tests"
inputs:
command: "test"
projects: "Tests/**/*.csproj"
arguments: "--configuration $(BuildConfiguration) --filter ExcludeInCiCd!=Yes"
workingDirectory: "Tests"