-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathazure-pipelines-websitetests.yml
53 lines (43 loc) · 1.34 KB
/
azure-pipelines-websitetests.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
trigger:
- master
- dev
- next-major-release
pool:
vmImage: 'windows-latest'
variables:
solution: '**/*.Specs.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@1
displayName: NuGet install
- task: NuGetCommand@2
displayName: NuGet restore
inputs:
command: 'restore'
restoreSolution: '$(solution)'
feedsToUse: 'select'
vstsFeed: 'e5c08e0c-1c28-42ca-815f-5ca90021fd46/9ff815b0-abc7-442a-98cb-d2879666c3bb'
- task: UseDotNet@2
displayName: 'Use .NET Core sdk 3.1.302'
inputs:
version: 3.1.302
- task: DotNetCoreCLI@2
displayName: DotNetCore build
inputs:
command: 'build'
projects: 'HelpMyStreetFE.Specs/HelpMyStreetFE.Specs/HelpMyStreetFE.Specs.csproj'
- task: BrowserStackConfig@0
inputs:
BrowserStackServiceEndPoint: 'BrowserStack Connection'
- task: DotNetCoreCLI@2
displayName: DotNetCore test (BrowserStack)
inputs:
command: 'test'
projects: 'HelpMyStreetFE.Specs\HelpMyStreetFE.Specs\HelpMyStreetFE.Specs.csproj'
arguments: '--configuration $(buildConfiguration)'
- task: SpecFlowPlus@0
inputs:
generatorSource: 'FeatureFolder'
projectFilePath: 'HelpMyStreetFE.Specs\HelpMyStreetFE.Specs\HelpMyStreetFE.Specs.csproj'
testExecutionJson: 'HelpMyStreetFE.Specs\HelpMyStreetFE.Specs\bin\Release\netcoreapp3.1\TestExecution.json'