Skip to content

Commit dc8dd35

Browse files
committed
Added azure pipeline
1 parent b42a399 commit dc8dd35

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Uses Scheduled Triggers, which aren't supported in YAML yet.
2+
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=vsts&tabs=yaml#scheduled
3+
4+
# Daily Tests for Blazor
5+
# These use Sauce Labs resources, hence they run daily rather than per-commit.
6+
7+
# The only Daily Tests we have run in Sauce Labs and only need to run on one machine (because they just trigger SauceLabs)
8+
# Hence we use the 'default-build.yml' template because it represents a single phase
9+
variables:
10+
E2ETESTS__SauceTest: true
11+
E2ETESTS__Sauce__Username: '$(asplab-sauce-labs-username)'
12+
E2ETESTS__Sauce__AccessKey: '$(asplab-sauce-labs-access-key)'
13+
E2ETESTS__TunnelIdentifier: 'blazor-e2e-sc-proxy-tunnel'
14+
E2ETESTS__HostName: 'sauce.local'
15+
jobs:
16+
- template: jobs/default-build.yml
17+
parameters:
18+
buildDirectory: src/Components
19+
buildArgs: -test
20+
isTestingJob: true
21+
agentOs: Windows
22+
jobName: BlazorDailyTests
23+
jobDisplayName: "Blazor Daily Tests"
24+
artifacts:
25+
- name: Windows_Logs
26+
path: ../../artifacts/log/
27+
publishOnError: true
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
{
22
"DefaultWaitTimeoutInSeconds": 20,
33
"ScreenShotsPath": "../../screenshots",
4-
"SauceTest": true,
5-
"Sauce": {
6-
"Username": "placeholder",
7-
"AccessKey": "placeholder",
8-
"TunnelIdentifier": "blazor-e2e-sc-proxy-tunnel",
9-
"HostName": "sauce.local"
10-
}
114
}

0 commit comments

Comments
 (0)