-
Notifications
You must be signed in to change notification settings - Fork 10k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into merge/release/5.0-to-main
- Loading branch information
Showing
5,143 changed files
with
102,281 additions
and
143,488 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Uses Scheduled Triggers, which aren't supported in YAML yet. | ||
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=vsts&tabs=yaml#scheduled | ||
|
||
# Daily Tests for Blazor | ||
# These use Sauce Labs resources, hence they run daily rather than per-commit. | ||
|
||
# We just need one Windows machine because all it does is trigger SauceLabs. | ||
variables: | ||
- ${{ if ne(variables['System.TeamProject'], 'public') }}: | ||
- group: DotNet-MSRC-Storage | ||
- group: AzureDevOps-Artifact-Feeds-Pats | ||
- name: SAUCE_CONNECT_DOWNLOAD_ON_INSTALL | ||
value: true | ||
- name: E2ETESTS_SauceTest | ||
value: true | ||
- name: E2ETESTS_Sauce__TunnelIdentifier | ||
value: 'blazor-e2e-sc-proxy-tunnel' | ||
- name: E2ETESTS_Sauce__HostName | ||
value: 'sauce.local' | ||
|
||
jobs: | ||
- template: jobs/default-build.yml | ||
parameters: | ||
buildDirectory: src/Components | ||
isTestingJob: true | ||
agentOs: Windows | ||
jobName: BlazorDailyTests | ||
jobDisplayName: "Blazor Daily Tests" | ||
afterBuild: | ||
|
||
# macOS/Safari | ||
- script: 'dotnet test --no-build --configuration Release --filter "StandaloneAppTest"' | ||
workingDirectory: 'src/Components/test/E2ETest' | ||
displayName: 'Run Blazor tests - macOS/Safari' | ||
condition: succeededOrFailed() | ||
env: | ||
# Secrets need to be explicitly mapped to env variables. | ||
E2ETESTS_Sauce__Username: '$(asplab-sauce-labs-username)' | ||
E2ETESTS_Sauce__AccessKey: '$(asplab-sauce-labs-access-key)' | ||
# Set platform/browser configuration. | ||
E2ETESTS_Sauce__TestName: 'Blazor Daily Tests - macOS/Safari' | ||
E2ETESTS_Sauce__PlatformName: 'macOS 10.14' | ||
E2ETESTS_Sauce__BrowserName: 'Safari' | ||
# Need to explicitly set version here because some older versions don't support timeouts in Safari. | ||
E2ETESTS_Sauce__SeleniumVersion: '3.4.0' | ||
|
||
# Android/Chrome | ||
- script: 'dotnet test --no-build --configuration Release --filter "StandaloneAppTest"' | ||
workingDirectory: 'src/Components/test/E2ETest' | ||
displayName: 'Run Blazor tests - Android/Chrome' | ||
condition: succeededOrFailed() | ||
env: | ||
# Secrets need to be explicitly mapped to env variables. | ||
E2ETESTS_Sauce__Username: '$(asplab-sauce-labs-username)' | ||
E2ETESTS_Sauce__AccessKey: '$(asplab-sauce-labs-access-key)' | ||
# Set platform/browser configuration. | ||
E2ETESTS_Sauce__TestName: 'Blazor Daily Tests - Android/Chrome' | ||
E2ETESTS_Sauce__PlatformName: 'Android' | ||
E2ETESTS_Sauce__PlatformVersion: '10.0' | ||
E2ETESTS_Sauce__BrowserName: 'Chrome' | ||
E2ETESTS_Sauce__DeviceName: 'Android GoogleAPI Emulator' | ||
E2ETESTS_Sauce__DeviceOrientation: 'portrait' | ||
E2ETESTS_Sauce__AppiumVersion: '1.9.1' | ||
artifacts: | ||
- name: Windows_Logs | ||
path: artifacts/log/ | ||
publishOnError: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.