-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
60 lines (52 loc) · 1.32 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
name: 'Cypress E2E Testing'
trigger:
- master
schedules:
- cron: "0 6 * * *"
displayName: Each morning at 6am
branches:
include:
- master
variables:
- ${{ if eq(variables['build.SourceBranchName'], 'master') }}:
- group: CYPRESSMASTER
- name: npm_config_cache
value: $(Pipeline.Workspace)/.npm
- name: CYPRESS_CACHE_FOLDER # Overrides the default cache location
value: $(Pipeline.Workspace)/.cache/Cypress
stages:
- stage: e2e_testing_stage_chrome
displayName: 'Chrome E2E Testing'
jobs:
- job: e2e_testing_job_chrome
displayName: 'Run E2E in Chrome'
pool:
vmImage: macos-latest
steps:
- template: devops/e2e.testing.yml
parameters:
browserType: chrome
- stage: e2e_testing_stage_firefox
displayName: 'Firefox E2E Testing'
dependsOn: []
jobs:
- job: e2e_testing_job_firefox
displayName: 'Run E2E in Firefox'
pool:
vmImage: macos-latest
steps:
- template: devops/e2e.testing.yml
parameters:
browserType: firefox
- stage: e2e_testing_stage_edge
displayName: 'Edge E2E Testing'
dependsOn: []
jobs:
- job: e2e_testing_job_edge
displayName: 'Run E2E in Edge'
pool:
vmImage: macos-latest
steps:
- template: devops/e2e.testing.yml
parameters:
browserType: edge