forked from stream-labs/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
screentest-azure-pipelines.yml
46 lines (46 loc) · 1.22 KB
/
screentest-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
#trigger:
#- staging
#- master
#
#variables:
# CI: true
#
#jobs:
# - job: Screenshots
#
# pool:
# name: 'Default'
#
# workspace:
# clean: resources
#
# steps:
#
# - powershell: echo "IP for RDP connections:" $(Invoke-RestMethod ipinfo.io/ip)
# displayName: 'Get RDP address'
#
# - powershell: Set-DisplayResolution -Width 1920 -Height 1080 -Force
# displayName: 'Setup Screen Resolution'
#
# - script: yarn install --frozen-lockfile --check-files 2>&1
# displayName: 'Install Dependencies'
#
# - script: node node_modules/electron/install.js
# displayName: 'Install Electron'
#
# - script: 'yarn ci:screentests'
# displayName: 'Snapshot testing'
# env:
# BROWSER_SOURCE_HARDWARE_ACCELERATION: 'OFF'
# SLOBS_TEST_USER_POOL_TOKEN: $(userPoolToken)
# STREAMLABS_BOT_ID: $(streamlabsBotId)
# STREAMLABS_BOT_KEY: $(streamlabsBotKey)
# AWS_BUCKET: $(awsBucket)
# AWS_ACCESS_KEY: $(awsAccessKey)
# AWS_SECRET_KEY: $(awsSecretKey)
#
# - task: PublishPipelineArtifact@0
# inputs:
# artifactName: 'SnapshotsResults'
# targetPath: $(Build.SourcesDirectory)/test-dist/screentest
#