-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
39 lines (33 loc) · 850 Bytes
/
Copy pathazure-pipelines.yml
File metadata and controls
39 lines (33 loc) · 850 Bytes
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
pool:
vmImage: windows-latest
variables:
buildConfiguration: Release
steps:
- task: UseDotNet@2
displayName: Install .NET Core SDK
inputs:
packageType: sdk
version: 3.1.x
- task: DotNetCoreCLI@2
displayName: dotnet restore
inputs:
command: restore
arguments: --configuration $(buildConfiguration)
- task: DotNetCoreCLI@2
displayName: dotnet build
inputs:
command: build
arguments: --configuration $(buildConfiguration) --no-restore
- task: DotNetCoreCLI@2
displayName: dotnet test
inputs:
command: test
projects: "**/*(NeoToCosmos.Unit.Tests.csproj)"
nobuild: true
arguments: --configuration $(buildConfiguration)
publishTestResults: true
# - task: PowerShell@2
# displayName: 'Run neo-to-cosmos'
# inputs:
# targetType: filePath
# filePath: .\devops\neo-to-cosmos.ps1