@@ -6,7 +6,41 @@ variables:
6
6
CI : true
7
7
8
8
jobs :
9
- - job : Tests
9
+ - job : Test
10
+ pool :
11
+ name : ' Default'
12
+
13
+ workspace :
14
+ clean : resources
15
+
16
+ strategy :
17
+ parallel : 4
18
+
19
+ steps :
20
+ - powershell : echo "IP for RDP connections:" $(Invoke-RestMethod ipinfo.io/ip)
21
+ displayName : ' Get RDP address'
22
+
23
+ - powershell : Set-DisplayResolution -Width 1920 -Height 1080 -Force
24
+ displayName : ' Setup Screen Resolution'
25
+
26
+ - script : yarn install --frozen-lockfile --check-files 2>&1
27
+ displayName : ' Install Dependencies'
28
+
29
+ - script : node node_modules/electron/install.js
30
+ displayName : ' Install Electron'
31
+
32
+ - script : ' yarn ci:compile'
33
+ displayName : ' Compile Assets'
34
+
35
+ - script : ' yarn ci:tests'
36
+ displayName : ' Run Tests'
37
+ env :
38
+ SLOBS_TEST_USER_POOL_TOKEN : $(userPoolToken)
39
+ BROWSER_SOURCE_HARDWARE_ACCELERATION : ' OFF'
40
+ SLOBS_TEST_STREAM_KEY : $(twitchStreamKey)
41
+ SLOBS_TEST_RUN_CHUNK : " $(System.JobPositionInPhase)/$(System.TotalJobsInPhase)"
42
+
43
+ - job : Check_eslint_and_strict_nulls_regression
10
44
11
45
pool :
12
46
name : ' Default'
@@ -25,26 +59,13 @@ jobs:
25
59
- script : yarn install --frozen-lockfile --check-files 2>&1
26
60
displayName : ' Install Dependencies'
27
61
28
- - script : node node_modules/electron/install.js
29
- displayName : ' Install Electron'
30
-
31
62
- script : ' yarn eslint'
32
63
displayName : ' ESLint'
33
64
34
65
- script : ' yarn compile:strictnulls'
35
66
displayName : ' Check regressions in files with strictNullChecks'
36
67
37
- - script : ' yarn ci:compile'
38
- displayName : ' Compile Assets'
39
-
40
- - script : ' yarn ci:tests'
41
- displayName : ' Run Tests'
42
- env :
43
- SLOBS_TEST_USER_POOL_TOKEN : $(userPoolToken)
44
- BROWSER_SOURCE_HARDWARE_ACCELERATION : ' OFF'
45
- SLOBS_TEST_STREAM_KEY : $(twitchStreamKey)
46
-
47
- # - job: Screenshots
68
+ # - job: Performance
48
69
#
49
70
# pool:
50
71
# name: 'Default'
@@ -54,64 +75,26 @@ jobs:
54
75
#
55
76
# steps:
56
77
#
57
- # - powershell: echo "IP for RDP connections:" $(Invoke-RestMethod ipinfo.io/ip)
58
- # displayName: 'Get RDP address'
59
- #
60
- # - powershell: Set-DisplayResolution -Width 1920 -Height 1080 -Force
61
- # displayName: 'Setup Screen Resolution'
78
+ # - powershell: echo "IP for RDP connections:" $(Invoke-RestMethod ipinfo.io/ip)
79
+ # displayName: 'Get RDP address'
62
80
#
63
- # - script: yarn install --frozen-lockfile --check-files 2>&1
64
- # displayName: 'Install Dependencies '
81
+ # - powershell: Set-DisplayResolution -Width 1920 -Height 1080 -Force
82
+ # displayName: 'Setup Screen Resolution '
65
83
#
66
- # - script: node node_modules/electron/ install.js
67
- # displayName: 'Install Electron '
84
+ # - script: yarn install --frozen-lockfile --check-files 2>&1
85
+ # displayName: 'Install Dependencies '
68
86
#
69
- # - script: 'yarn ci:screentests'
70
- # displayName: 'Snapshot testing'
71
- # env:
72
- # BROWSER_SOURCE_HARDWARE_ACCELERATION: 'OFF'
73
- # SLOBS_TEST_USER_POOL_TOKEN: $(userPoolToken)
74
- # STREAMLABS_BOT_ID: $(streamlabsBotId)
75
- # STREAMLABS_BOT_KEY: $(streamlabsBotKey)
76
- # AWS_BUCKET: $(awsBucket)
77
- # AWS_ACCESS_KEY: $(awsAccessKey)
78
- # AWS_SECRET_KEY: $(awsSecretKey)
87
+ # - script: node node_modules/electron/install.js
88
+ # displayName: 'Install Electron'
79
89
#
80
- # - task: PublishPipelineArtifact@0
81
- # inputs:
82
- # artifactName: 'SnapshotsResults'
83
- # targetPath: $(Build.SourcesDirectory)/test-dist/screentest
90
+ # - script: 'yarn ci:compile'
91
+ # displayName: 'Compile Assets'
84
92
#
85
- - job : Performance
86
-
87
- pool :
88
- name : ' Default'
89
-
90
- workspace :
91
- clean : resources
92
-
93
- steps :
94
-
95
- - powershell : echo "IP for RDP connections:" $(Invoke-RestMethod ipinfo.io/ip)
96
- displayName : ' Get RDP address'
97
-
98
- - powershell : Set-DisplayResolution -Width 1920 -Height 1080 -Force
99
- displayName : ' Setup Screen Resolution'
100
-
101
- - script : yarn install --frozen-lockfile --check-files 2>&1
102
- displayName : ' Install Dependencies'
103
-
104
- - script : node node_modules/electron/install.js
105
- displayName : ' Install Electron'
106
-
107
- - script : ' yarn ci:compile'
108
- displayName : ' Compile Assets'
109
-
110
- - script : ' yarn ci:performance'
111
- displayName : ' Performance testing'
112
- env :
113
- BROWSER_SOURCE_HARDWARE_ACCELERATION : ' OFF'
114
- SLOBS_TEST_USER_POOL_TOKEN : $(userPoolToken)
93
+ # - script: 'yarn ci:performance'
94
+ # displayName: 'Performance testing'
95
+ # env:
96
+ # BROWSER_SOURCE_HARDWARE_ACCELERATION: 'OFF'
97
+ # SLOBS_TEST_USER_POOL_TOKEN: $(userPoolToken)
115
98
116
99
- job : macOS
117
100
0 commit comments