Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: trim MCP matrix, move Linux tests to large builders, shorten job names (#43389)

Pavel Feldman36c6078faf99
diff --git a/.github/workflows/tests_mcp.yml b/.github/workflows/tests_mcp.yml
index 622c92575b..77f61bee81 100644
--- a/.github/workflows/tests_mcp.yml
+++ b/.github/workflows/tests_mcp.yml
@@ -34,17 +34,13 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, macos-latest]
+ os: [ubuntu-latest]
project: [chrome, chromium, firefox, webkit]
include:
- - os: windows-latest
+ - os: macos-latest
project: chrome
- os: windows-latest
- project: chromium
- - os: windows-latest
- project: firefox
- - os: windows-latest
- project: webkit
+ project: chrome
- os: windows-latest
project: msedge
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml
index 0362edc8df..e2ca0bca27 100644
--- a/.github/workflows/tests_primary.yml
+++ b/.github/workflows/tests_primary.yml
@@ -31,12 +31,12 @@ env:
jobs:
test_linux:
- name: ${{ matrix.os }} (${{ matrix.browser }} - Node.js ${{ matrix.node-version }})
+ name: ubuntu-large - ${{ matrix.browser }}
strategy:
fail-fast: false
matrix:
browser: [chromium, firefox, webkit]
- os: [ubuntu-22.04]
+ os: [playwright-x64-ubuntu24-64-core]
node-version: [22]
runs-on: ${{ matrix.os }}
permissions:
@@ -51,12 +51,17 @@ jobs:
bot-name: "${{ matrix.browser }}-${{ matrix.os }}-node${{ matrix.node-version }}"
test_test_runner:
- name: Test Runner
+ name: Test Runner - ${{ matrix.os-name }}
strategy:
fail-fast: false
matrix:
os: [playwright-x64-ubuntu24-64-core, playwright-x64-server2025-64-core]
node-version: [22]
+ include:
+ - os: playwright-x64-ubuntu24-64-core
+ os-name: ubuntu-large
+ - os: playwright-x64-server2025-64-core
+ os-name: windows-large
runs-on: ${{ matrix.os }}
permissions:
contents: read # This is required for actions/checkout to succeed
@@ -65,11 +70,11 @@ jobs:
- uses: ./.github/actions/run-test
with:
node-version: ${{matrix.node-version}}
- command: npm run ttest
+ command: npm run ttest -- ${{ matrix.os == 'playwright-x64-server2025-64-core' && '--workers 16' || '' }}
bot-name: "${{ matrix.os }}-node${{ matrix.node-version }}"
test_test_runner_mac:
- name: Test Runner
+ name: Test Runner - ${{ matrix.os }} (${{ matrix.shardIndex }}/${{ matrix.shardTotal }})
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml
index 72bf3920bd..8e779e5df6 100644
--- a/.github/workflows/tests_secondary.yml
+++ b/.github/workflows/tests_secondary.yml
@@ -85,7 +85,7 @@ jobs:
bot-name: "package-installations-${{ matrix.os }}-node${{ matrix.node_version }}"
test_linux:
- name: ${{ matrix.os }} (${{ matrix.browser }} - Node.js ${{ matrix.node-version }})
+ name: ${{ matrix.os }} (${{ matrix.browser }}${{ matrix.node-version != 22 && format(' - Node.js {0}', matrix.node-version) || '' }})
if: ${{ github.event_name == 'push' || github.event.label.name == 'CQ1' }}
strategy:
fail-fast: false
@@ -130,7 +130,7 @@ jobs:
PW_CLOCK: ${{ matrix.clock }}
test_test_runner:
- name: Test Runner
+ name: Test Runner - ubuntu-large - Node.js ${{ matrix.node-version }}
if: ${{ github.event_name == 'push' || github.event.label.name == 'CQ1' }}
strategy:
fail-fast: false
@@ -193,7 +193,7 @@ jobs:
PWTEST_CHANNEL: ${{ matrix.channel }}
test_android:
- name: Android
+ name: Android - ubuntu-large
runs-on: playwright-x64-ubuntu24-64-core
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1