-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathazure-pipelines.yml
67 lines (45 loc) · 1.6 KB
/
azure-pipelines.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
queue:
name: Hosted VS2017
steps:
- task: PowerShell@2
displayName: 'Setup environment'
inputs:
filePath: ./build.ps1
arguments: '-Target Setup'
- task: isaacabraham.fsharp-helpers-extension.a2dadf20-1a83-4220-a4ee-b52f6c77f3cf.FAKE5@1
displayName: Build
inputs:
ScriptArguments: 'target Build'
- task: isaacabraham.fsharp-helpers-extension.a2dadf20-1a83-4220-a4ee-b52f6c77f3cf.FAKE5@1
displayName: Package
inputs:
ScriptArguments: 'target Package'
- task: isaacabraham.fsharp-helpers-extension.a2dadf20-1a83-4220-a4ee-b52f6c77f3cf.FAKE5@1
displayName: 'Unit Tests'
inputs:
ScriptArguments: 'target UnitTests'
- task: isaacabraham.fsharp-helpers-extension.a2dadf20-1a83-4220-a4ee-b52f6c77f3cf.FAKE5@1
displayName: 'Integration Tests'
inputs:
ScriptArguments: 'target IntegrationTests'
- task: PublishTestResults@2
displayName: 'Publish Test Results .testresults/results-*.xml'
inputs:
testResultsFormat: XUnit
testResultsFiles: '.testresults/results-*.xml'
mergeTestResults: true
- powershell: |
./tools/codecov/tools/codecov.exe -t $(CodeCov_Token) -f .testresults/coverage-unit-tests.xml -v
./tools/codecov/tools/codecov.exe -t $(CodeCov_Token) -f .testresults/coverage-integration-tests.xml -v
failOnStderr: true
displayName: 'Upload coverage'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: packages'
inputs:
PathtoPublish: .packaging
ArtifactName: packages
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: test results'
inputs:
PathtoPublish: .testresults
ArtifactName: 'test results'