cherry-pick(1.47): remove old CDNs (#34102) #12803
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
name: "tests 2" | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
pull_request: | |
paths-ignore: | |
- 'browser_patches/**' | |
- 'docs/**' | |
types: [ labeled ] | |
branches: | |
- main | |
- release-* | |
env: | |
# Force terminal colors. @see https://www.npmjs.com/package/colors | |
FORCE_COLOR: 1 | |
ELECTRON_SKIP_BINARY_DOWNLOAD: 1 | |
permissions: | |
id-token: write # This is required for OIDC login (azure/login) to succeed | |
contents: read # This is required for actions/checkout to succeed | |
jobs: | |
test_linux: | |
name: ${{ matrix.os }} (${{ matrix.browser }}) | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [chromium, firefox, webkit] | |
os: [ubuntu-20.04, ubuntu-24.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: ${{ matrix.browser }} chromium | |
command: npm run test -- --project=${{ matrix.browser }}-* | |
bot-name: "${{ matrix.browser }}-${{ matrix.os }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
test_mac: | |
name: ${{ matrix.os }} (${{ matrix.browser }}) | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-12, macos-13, macos-14] | |
browser: [chromium, firefox, webkit] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: ${{ matrix.browser }} chromium | |
command: npm run test -- --project=${{ matrix.browser }}-* | |
bot-name: "${{ matrix.browser }}-${{ matrix.os }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
test_win: | |
name: "Windows" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [chromium, firefox, webkit] | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: ${{ matrix.browser }} chromium | |
command: npm run test -- --project=${{ matrix.browser }}-* ${{ matrix.browser == 'firefox' && '--workers 1' || '' }} | |
bot-name: "${{ matrix.browser }}-windows-latest" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
test-package-installations-other-node-versions: | |
name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-latest | |
node_version: 20 | |
- os: ubuntu-latest | |
node_version: 22 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm install -g yarn@1 | |
- run: npm install -g pnpm@8 | |
- uses: ./.github/actions/run-test | |
with: | |
node-version: ${{ matrix.node_version }} | |
command: npm run itest | |
bot-name: "package-installations-${{ matrix.os }}-node${{ matrix.node_version }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
headed_tests: | |
name: "headed ${{ matrix.browser }} (${{ matrix.os }})" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
strategy: | |
fail-fast: false | |
matrix: | |
browser: [chromium, firefox, webkit] | |
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-14, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: ${{ matrix.browser }} chromium | |
command: npm run test -- --project=${{ matrix.browser }}-* --headed | |
bot-name: "${{ matrix.browser }}-headed-${{ matrix.os }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
transport_linux: | |
name: "Transport" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
strategy: | |
fail-fast: false | |
matrix: | |
mode: [driver, service] | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chromium | |
command: npm run ctest | |
bot-name: "${{ matrix.mode }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_MODE: ${{ matrix.mode }} | |
tracing_linux: | |
name: Tracing ${{ matrix.browser }} ${{ matrix.channel }} | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- browser: chromium | |
- browser: firefox | |
- browser: webkit | |
- browser: chromium | |
channel: chromium-tip-of-tree | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: ${{ matrix.browser }} chromium ${{ matrix.channel }} | |
command: npm run test -- --project=${{ matrix.browser }}-* | |
bot-name: "tracing-${{ matrix.channel || matrix.browser }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_TRACE: 1 | |
PWTEST_CHANNEL: ${{ matrix.channel }} | |
chrome_stable_linux: | |
name: "Chrome Stable (Linux)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chrome | |
command: npm run ctest | |
bot-name: "chrome-stable-linux" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chrome | |
chrome_stable_win: | |
name: "Chrome Stable (Win)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chrome | |
command: npm run ctest | |
bot-name: "chrome-stable-windows" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chrome | |
chrome_stable_mac: | |
name: "Chrome Stable (Mac)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chrome | |
command: npm run ctest | |
bot-name: "chrome-stable-mac" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chrome | |
chromium_tot: | |
name: Chromium tip-of-tree ${{ matrix.os }} | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, macos-12, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chromium-tip-of-tree | |
command: npm run ctest | |
bot-name: "tip-of-tree-${{ matrix.os }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chromium-tip-of-tree | |
chromium_tot_headed: | |
name: Chromium tip-of-tree headed ${{ matrix.os }} | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chromium-tip-of-tree | |
command: npm run ctest -- --headed | |
bot-name: "tip-of-tree-headed-${{ matrix.os }}" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chromium-tip-of-tree | |
firefox_beta_linux: | |
name: "Firefox Beta (Linux)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: firefox-beta chromium | |
command: npm run ftest | |
bot-name: "firefox-beta-linux" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: firefox-beta | |
firefox_beta_win: | |
name: "Firefox Beta (Win)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: firefox-beta chromium | |
command: npm run ftest -- --workers=1 | |
bot-name: "firefox-beta-windows" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: firefox-beta | |
firefox_beta_mac: | |
name: "Firefox Beta (Mac)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
# Stick with macos-latest-large for now which is Intel-based until | |
# https://github.com/microsoft/playwright/issues/30705 is fixed. | |
runs-on: macos-latest-large | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: firefox-beta chromium | |
command: npm run ftest | |
bot-name: "firefox-beta-mac" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: firefox-beta | |
edge_stable_mac: | |
name: "Edge Stable (Mac)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge | |
command: npm run ctest | |
bot-name: "edge-stable-mac" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge | |
edge_stable_win: | |
name: "Edge Stable (Win)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge | |
command: npm run ctest | |
bot-name: "edge-stable-windows" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge | |
edge_stable_linux: | |
name: "Edge Stable (Linux)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge | |
command: npm run ctest | |
bot-name: "edge-stable-linux" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge | |
edge_beta_mac: | |
name: "Edge Beta (Mac)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge-beta | |
command: npm run ctest | |
bot-name: "edge-beta-mac" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge-beta | |
edge_beta_win: | |
name: "Edge Beta (Win)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge-beta | |
command: npm run ctest | |
bot-name: "edge-beta-windows" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge-beta | |
edge_beta_linux: | |
name: "Edge Beta (Linux)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge-beta | |
command: npm run ctest | |
bot-name: "edge-beta-linux" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge-beta | |
edge_dev_mac: | |
name: "Edge Dev (Mac)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge-dev | |
command: npm run ctest | |
bot-name: "edge-dev-mac" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge-dev | |
edge_dev_win: | |
name: "Edge Dev (Win)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge-dev | |
command: npm run ctest | |
bot-name: "edge-dev-windows" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge-dev | |
edge_dev_linux: | |
name: "Edge Dev (Linux)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: msedge-dev | |
command: npm run ctest | |
bot-name: "edge-dev-linux" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: msedge-dev | |
chrome_beta_linux: | |
name: "Chrome Beta (Linux)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chrome-beta | |
command: npm run ctest | |
bot-name: "chrome-beta-linux" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chrome-beta | |
chrome_beta_win: | |
name: "Chrome Beta (Win)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chrome-beta | |
command: npm run ctest | |
bot-name: "chrome-beta-windows" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chrome-beta | |
chrome_beta_mac: | |
name: "Chrome Beta (Mac)" | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chrome-beta | |
command: npm run ctest | |
bot-name: "chrome-beta-mac" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PWTEST_CHANNEL: chrome-beta | |
build-playwright-driver: | |
name: "build-playwright-driver" | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm run build | |
- run: npx playwright install-deps | |
- run: utils/build/build-playwright-driver.sh | |
test_linux_chromium_headless_new: | |
name: Linux Chromium Headless New | |
environment: ${{ github.event_name == 'push' && 'allow-uploading-flakiness-results' || null }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/run-test | |
with: | |
browsers-to-install: chromium | |
command: npm run ctest | |
bot-name: "headless-new" | |
flakiness-client-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_CLIENT_ID }} | |
flakiness-tenant-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_TENANT_ID }} | |
flakiness-subscription-id: ${{ secrets.AZURE_FLAKINESS_DASHBOARD_SUBSCRIPTION_ID }} | |
env: | |
PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW: 1 |