2021-05-12 03:25:05 +03:00
|
|
|
name: "tests 2"
|
2020-02-13 00:52:06 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-12-08 09:58:33 +03:00
|
|
|
- main
|
2020-04-22 05:20:19 +03:00
|
|
|
- release-*
|
2020-02-13 00:52:06 +03:00
|
|
|
pull_request:
|
2021-05-12 03:25:05 +03:00
|
|
|
paths-ignore:
|
|
|
|
- 'browser_patches/**'
|
2021-06-01 23:55:48 +03:00
|
|
|
- 'docs/**'
|
2021-05-12 03:01:02 +03:00
|
|
|
types: [ labeled ]
|
2020-02-13 00:52:06 +03:00
|
|
|
branches:
|
2021-12-08 09:58:33 +03:00
|
|
|
- main
|
2020-04-22 05:20:19 +03:00
|
|
|
- release-*
|
2020-02-13 00:52:06 +03:00
|
|
|
|
|
|
|
env:
|
2020-02-21 09:55:39 +03:00
|
|
|
# Force terminal colors. @see https://www.npmjs.com/package/colors
|
|
|
|
FORCE_COLOR: 1
|
2020-10-27 03:46:13 +03:00
|
|
|
FLAKINESS_CONNECTION_STRING: ${{ secrets.FLAKINESS_CONNECTION_STRING }}
|
2023-04-06 20:49:29 +03:00
|
|
|
ELECTRON_SKIP_BINARY_DOWNLOAD: 1
|
2020-02-13 00:52:06 +03:00
|
|
|
|
|
|
|
jobs:
|
2020-07-10 23:15:57 +03:00
|
|
|
test_linux:
|
2020-07-29 21:36:38 +03:00
|
|
|
name: ${{ matrix.os }} (${{ matrix.browser }})
|
2020-07-10 23:15:57 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
browser: [chromium, firefox, webkit]
|
2023-10-06 02:08:43 +03:00
|
|
|
os: [ubuntu-20.04]
|
2020-07-29 21:36:38 +03:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-02-13 00:52:06 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2020-02-13 00:52:06 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2020-04-21 02:57:01 +03:00
|
|
|
- run: npm ci
|
2021-05-21 01:47:22 +03:00
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
2021-08-07 13:53:33 +03:00
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium
|
2021-06-04 01:28:57 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }}
|
2023-07-19 23:01:52 +03:00
|
|
|
env:
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-${{ matrix.os }}"
|
2021-04-06 01:51:45 +03:00
|
|
|
- run: node tests/config/checkCoverage.js ${{ matrix.browser }}
|
2020-10-26 23:46:26 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2021-04-19 18:39:10 +03:00
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-07-19 23:01:52 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-07-19 23:01:52 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
2023-07-29 01:49:31 +03:00
|
|
|
report_dir: blob-report
|
2020-02-13 00:52:06 +03:00
|
|
|
|
2020-07-10 23:15:57 +03:00
|
|
|
test_mac:
|
2021-03-24 00:23:23 +03:00
|
|
|
name: ${{ matrix.os }} (${{ matrix.browser }})
|
2020-07-10 23:15:57 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2023-05-17 02:13:09 +03:00
|
|
|
os: [macos-12, macos-13]
|
2020-07-10 23:15:57 +03:00
|
|
|
browser: [chromium, firefox, webkit]
|
2020-10-19 20:02:35 +03:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-02-13 00:52:06 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2020-02-13 00:52:06 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2020-04-21 02:57:01 +03:00
|
|
|
- run: npm ci
|
2021-05-04 02:52:54 +03:00
|
|
|
env:
|
2021-05-19 03:38:02 +03:00
|
|
|
DEBUG: pw:install
|
2021-08-07 13:53:33 +03:00
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium
|
2021-05-08 01:25:55 +03:00
|
|
|
- run: npm run test -- --project=${{ matrix.browser }}
|
2023-07-19 23:01:52 +03:00
|
|
|
env:
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-${{ matrix.os }}"
|
2020-10-27 03:46:13 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2021-04-19 18:39:10 +03:00
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-07-19 23:01:52 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-07-19 23:01:52 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
2023-07-29 01:49:31 +03:00
|
|
|
report_dir: blob-report
|
2020-02-13 00:52:06 +03:00
|
|
|
|
2020-07-10 23:15:57 +03:00
|
|
|
test_win:
|
|
|
|
name: "Windows"
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
browser: [chromium, firefox, webkit]
|
2020-02-13 00:52:06 +03:00
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2020-02-13 00:52:06 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2020-04-21 02:57:01 +03:00
|
|
|
- run: npm ci
|
2021-05-04 02:52:54 +03:00
|
|
|
env:
|
2021-05-19 03:38:02 +03:00
|
|
|
DEBUG: pw:install
|
2021-08-07 13:53:33 +03:00
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium
|
2023-10-09 22:34:59 +03:00
|
|
|
- run: npm run test -- --project=${{ matrix.browser }} --workers=1
|
|
|
|
if: matrix.browser == 'firefox'
|
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-windows-latest"
|
2021-05-08 01:25:55 +03:00
|
|
|
- run: npm run test -- --project=${{ matrix.browser }}
|
2023-10-09 22:34:59 +03:00
|
|
|
if: matrix.browser != 'firefox'
|
2021-04-05 05:32:14 +03:00
|
|
|
shell: bash
|
2023-07-19 23:01:52 +03:00
|
|
|
env:
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-windows-latest"
|
2020-10-27 03:46:13 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2021-04-19 18:39:10 +03:00
|
|
|
if: always()
|
2020-11-12 20:30:09 +03:00
|
|
|
shell: bash
|
2023-07-19 23:01:52 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-07-19 23:01:52 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
2023-07-29 01:49:31 +03:00
|
|
|
report_dir: blob-report
|
2020-04-09 01:23:00 +03:00
|
|
|
|
2022-06-08 04:11:58 +03:00
|
|
|
test-package-installations-other-node-versions:
|
2022-04-26 21:09:49 +03:00
|
|
|
name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"
|
|
|
|
runs-on: ${{ matrix.os }}
|
2020-05-01 10:10:52 +03:00
|
|
|
strategy:
|
2020-07-24 01:14:36 +03:00
|
|
|
fail-fast: false
|
2020-05-01 10:10:52 +03:00
|
|
|
matrix:
|
2022-04-26 21:09:49 +03:00
|
|
|
include:
|
|
|
|
- os: ubuntu-latest
|
2023-10-06 02:08:43 +03:00
|
|
|
node_version: 16
|
2022-04-26 21:09:49 +03:00
|
|
|
- os: ubuntu-latest
|
2023-09-11 23:33:09 +03:00
|
|
|
node_version: 20
|
2022-04-26 21:09:49 +03:00
|
|
|
timeout-minutes: 30
|
2020-04-02 21:25:03 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2020-04-02 21:25:03 +03:00
|
|
|
with:
|
2020-05-01 10:10:52 +03:00
|
|
|
node-version: ${{ matrix.node_version }}
|
2020-04-21 02:57:01 +03:00
|
|
|
- run: npm ci
|
2021-05-04 02:52:54 +03:00
|
|
|
env:
|
2021-05-19 03:38:02 +03:00
|
|
|
DEBUG: pw:install
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2023-10-02 21:26:08 +03:00
|
|
|
- run: npx playwright install --with-deps
|
2023-09-08 23:54:05 +03:00
|
|
|
- run: npm install -g yarn@1
|
|
|
|
- run: npm install -g pnpm@8
|
2022-04-26 21:09:49 +03:00
|
|
|
- run: npm run itest
|
|
|
|
if: matrix.os != 'ubuntu-latest'
|
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run itest
|
|
|
|
if: matrix.os == 'ubuntu-latest'
|
2022-05-07 19:17:07 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
2020-05-05 01:15:51 +03:00
|
|
|
|
2022-05-10 16:49:28 +03:00
|
|
|
headed_tests:
|
2022-05-09 22:55:59 +03:00
|
|
|
name: "headed ${{ matrix.browser }} (${{ matrix.os }})"
|
2020-07-18 20:50:58 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
browser: [chromium, firefox, webkit]
|
2022-06-09 15:30:55 +03:00
|
|
|
os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest]
|
2022-05-09 22:55:59 +03:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-05-05 01:15:51 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2020-05-05 01:15:51 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2020-05-05 01:15:51 +03:00
|
|
|
- run: npm ci
|
2021-05-21 01:47:22 +03:00
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
2021-08-07 13:53:33 +03:00
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium
|
2022-05-09 22:55:59 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }} --headed
|
2022-06-09 15:30:55 +03:00
|
|
|
if: always() && startsWith(matrix.os, 'ubuntu-')
|
2023-07-19 23:01:52 +03:00
|
|
|
env:
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-headed-${{ matrix.os }}"
|
2022-05-09 22:55:59 +03:00
|
|
|
- run: npm run test -- --project=${{ matrix.browser }} --headed
|
2022-06-09 15:30:55 +03:00
|
|
|
if: always() && !startsWith(matrix.os, 'ubuntu-')
|
2023-07-19 23:01:52 +03:00
|
|
|
env:
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "${{ matrix.browser }}-headed-${{ matrix.os }}"
|
2020-10-27 03:46:13 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2022-05-10 16:49:28 +03:00
|
|
|
if: always()
|
|
|
|
shell: bash
|
2023-08-06 21:10:12 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-06 21:10:12 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2020-07-01 04:51:36 +03:00
|
|
|
|
2020-11-21 02:19:39 +03:00
|
|
|
transport_linux:
|
|
|
|
name: "Transport"
|
2020-07-10 23:15:57 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2020-11-21 02:19:39 +03:00
|
|
|
mode: [driver, service]
|
2021-04-05 22:39:15 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2020-07-01 04:51:36 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2020-07-01 04:51:36 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2020-07-01 04:51:36 +03:00
|
|
|
- run: npm ci
|
2021-05-21 01:47:22 +03:00
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
2021-08-07 13:53:33 +03:00
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps chromium
|
2022-12-21 23:10:44 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
PWTEST_MODE: ${{ matrix.mode }}
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "${{ matrix.mode }}"
|
2020-10-27 03:46:13 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2021-04-19 18:39:10 +03:00
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-06 21:10:12 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-06 21:10:12 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2020-08-28 23:50:06 +03:00
|
|
|
|
2021-08-20 05:09:19 +03:00
|
|
|
tracing_linux:
|
2022-05-12 17:44:13 +03:00
|
|
|
name: Tracing ${{ matrix.browser }} ${{ matrix.channel }}
|
2021-08-20 05:09:19 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-05-12 17:44:13 +03:00
|
|
|
include:
|
|
|
|
- browser: chromium
|
|
|
|
- browser: firefox
|
|
|
|
- browser: webkit
|
|
|
|
- browser: chromium
|
|
|
|
channel: chromium-tip-of-tree
|
2021-08-20 05:09:19 +03:00
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-08-20 05:09:19 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-08-20 05:09:19 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-05-12 17:44:13 +03:00
|
|
|
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium ${{ matrix.channel }}
|
2021-08-20 05:09:19 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }}
|
|
|
|
env:
|
|
|
|
PWTEST_TRACE: 1
|
2022-05-12 17:44:13 +03:00
|
|
|
PWTEST_CHANNEL: ${{ matrix.channel }}
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "tracing-${{ matrix.channel || matrix.browser }}"
|
2021-08-20 05:09:19 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-07-14 18:21:15 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-07-14 18:21:15 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
2023-06-02 03:12:58 +03:00
|
|
|
with:
|
2023-07-29 01:49:31 +03:00
|
|
|
report_dir: blob-report
|
2023-06-01 01:29:57 +03:00
|
|
|
|
2021-03-18 03:24:01 +03:00
|
|
|
chrome_stable_linux:
|
2021-03-24 08:18:49 +03:00
|
|
|
name: "Chrome Stable (Linux)"
|
2021-04-05 22:39:15 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2021-03-10 06:19:21 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-03-10 06:19:21 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-03-10 06:19:21 +03:00
|
|
|
- run: npm ci
|
2021-03-15 18:07:57 +03:00
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
2021-03-10 06:19:21 +03:00
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps chrome
|
2021-06-04 01:28:57 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chrome
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "chrome-stable-linux"
|
2021-04-06 09:15:06 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2021-04-19 18:39:10 +03:00
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-03-16 02:00:52 +03:00
|
|
|
|
2021-03-18 03:24:01 +03:00
|
|
|
chrome_stable_win:
|
|
|
|
name: "Chrome Stable (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-03-18 03:24:01 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-03-18 03:24:01 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps chrome
|
2021-05-29 03:03:18 +03:00
|
|
|
- run: npm run ctest
|
2021-03-18 03:24:01 +03:00
|
|
|
shell: bash
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chrome
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "chrome-stable-windows"
|
2021-04-06 09:15:06 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2021-04-19 18:39:10 +03:00
|
|
|
if: always()
|
2021-04-06 09:15:06 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-03-18 03:24:01 +03:00
|
|
|
|
|
|
|
chrome_stable_mac:
|
|
|
|
name: "Chrome Stable (Mac)"
|
2022-08-03 22:34:41 +03:00
|
|
|
runs-on: macos-latest
|
2021-03-18 03:24:01 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-03-18 03:24:01 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-03-18 03:24:01 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps chrome
|
2021-05-29 03:03:18 +03:00
|
|
|
- run: npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chrome
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "chrome-stable-mac"
|
2021-04-06 09:15:06 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
2021-04-19 18:39:10 +03:00
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-03-18 03:24:01 +03:00
|
|
|
|
2022-05-12 17:44:13 +03:00
|
|
|
chromium_tot:
|
|
|
|
name: Chromium TOT ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-11-22 00:23:45 +03:00
|
|
|
os: [ubuntu-20.04, macos-12, windows-latest]
|
2022-04-22 19:43:57 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2022-04-22 19:43:57 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2022-04-22 19:43:57 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
|
|
|
- run: npx playwright install --with-deps chromium-tip-of-tree
|
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
2022-11-22 00:23:45 +03:00
|
|
|
if: matrix.os == 'ubuntu-20.04'
|
2022-04-22 19:43:57 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "tip-of-tree-${{ matrix.os }}"
|
2022-04-22 19:43:57 +03:00
|
|
|
- run: npm run ctest
|
2022-11-22 00:23:45 +03:00
|
|
|
if: matrix.os != 'ubuntu-20.04'
|
2022-04-22 19:43:57 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "tip-of-tree-${{ matrix.os }}"
|
2022-04-22 19:43:57 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2022-04-22 19:43:57 +03:00
|
|
|
|
2022-05-12 17:44:13 +03:00
|
|
|
chromium_tot_headed:
|
|
|
|
name: Chromium TOT headed ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
2022-04-22 19:43:57 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2022-04-22 19:43:57 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2022-04-22 19:43:57 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
|
|
|
- run: npx playwright install --with-deps chromium-tip-of-tree
|
2022-05-12 17:44:13 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest -- --headed
|
|
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "tip-of-tree-headed-${{ matrix.os }}"
|
2022-05-12 17:44:13 +03:00
|
|
|
- run: npm run ctest -- --headed
|
|
|
|
if: matrix.os != 'ubuntu-latest'
|
2022-04-22 19:43:57 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "tip-of-tree-headed-${{ matrix.os }}"
|
2022-04-22 19:43:57 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-05-12 17:44:13 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2022-04-22 19:43:57 +03:00
|
|
|
|
2021-06-08 19:34:17 +03:00
|
|
|
firefox_beta_linux:
|
|
|
|
name: "Firefox Beta (Linux)"
|
2021-04-20 07:26:33 +03:00
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-04-20 07:26:33 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps firefox-beta chromium
|
2021-06-04 01:28:57 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ftest
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
2021-06-08 19:34:17 +03:00
|
|
|
PWTEST_CHANNEL: firefox-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "firefox-beta-linux"
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-04-20 07:26:33 +03:00
|
|
|
|
2021-06-08 19:34:17 +03:00
|
|
|
firefox_beta_win:
|
|
|
|
name: "Firefox Beta (Win)"
|
2021-04-20 07:26:33 +03:00
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-04-20 07:26:33 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps firefox-beta chromium
|
2023-10-09 22:34:59 +03:00
|
|
|
- run: npm run ftest -- --workers=1
|
2021-04-20 07:26:33 +03:00
|
|
|
shell: bash
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
2021-06-08 19:34:17 +03:00
|
|
|
PWTEST_CHANNEL: firefox-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "firefox-beta-windows"
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-04-20 07:26:33 +03:00
|
|
|
|
2021-06-08 19:34:17 +03:00
|
|
|
firefox_beta_mac:
|
|
|
|
name: "Firefox Beta (Mac)"
|
2022-08-03 22:34:41 +03:00
|
|
|
runs-on: macos-latest
|
2021-04-20 07:26:33 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-04-20 07:26:33 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install --with-deps firefox-beta chromium
|
2021-05-29 03:03:18 +03:00
|
|
|
- run: npm run ftest
|
|
|
|
env:
|
2021-06-08 19:34:17 +03:00
|
|
|
PWTEST_CHANNEL: firefox-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "firefox-beta-mac"
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-04-20 07:26:33 +03:00
|
|
|
|
2021-06-07 10:23:22 +03:00
|
|
|
edge_stable_mac:
|
|
|
|
name: "Edge Stable (Mac)"
|
2022-08-03 22:34:41 +03:00
|
|
|
runs-on: macos-latest
|
2021-06-07 10:23:22 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-06-07 10:23:22 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-06-07 10:23:22 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge
|
2021-06-07 10:23:22 +03:00
|
|
|
- run: npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-stable-mac"
|
2021-06-07 10:23:22 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-06-07 10:23:22 +03:00
|
|
|
|
2021-03-18 03:24:01 +03:00
|
|
|
edge_stable_win:
|
2021-03-16 02:00:52 +03:00
|
|
|
name: "Edge Stable (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-03-16 02:00:52 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-03-16 02:00:52 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge
|
2021-05-29 03:03:18 +03:00
|
|
|
- run: npm run ctest
|
2021-03-16 02:00:52 +03:00
|
|
|
shell: bash
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-stable-windows"
|
2022-08-05 10:51:45 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-04-08 20:26:26 +03:00
|
|
|
|
2021-11-02 00:03:51 +03:00
|
|
|
edge_stable_linux:
|
|
|
|
name: "Edge Stable (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-11-02 00:03:51 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-11-02 00:03:51 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge
|
2021-11-02 00:03:51 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-stable-linux"
|
2021-11-02 00:03:51 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-11-02 00:03:51 +03:00
|
|
|
|
2021-07-02 22:55:46 +03:00
|
|
|
edge_beta_mac:
|
|
|
|
name: "Edge Beta (Mac)"
|
2022-08-03 22:34:41 +03:00
|
|
|
runs-on: macos-latest
|
2021-07-02 22:55:46 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-07-02 22:55:46 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge-beta
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-beta-mac"
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-07-02 22:55:46 +03:00
|
|
|
|
|
|
|
edge_beta_win:
|
|
|
|
name: "Edge Beta (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-07-02 22:55:46 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge-beta
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: npm run ctest
|
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-beta-windows"
|
2022-08-05 10:51:45 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-07-02 22:55:46 +03:00
|
|
|
|
|
|
|
edge_beta_linux:
|
|
|
|
name: "Edge Beta (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-07-02 22:55:46 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge-beta
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-beta-linux"
|
2021-07-02 22:55:46 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-07-02 22:55:46 +03:00
|
|
|
|
2021-07-16 22:40:13 +03:00
|
|
|
edge_dev_mac:
|
|
|
|
name: "Edge Dev (Mac)"
|
2022-08-03 22:34:41 +03:00
|
|
|
runs-on: macos-latest
|
2021-07-16 22:40:13 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-07-16 22:40:13 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge-dev
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge-dev
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-dev-mac"
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-07-16 22:40:13 +03:00
|
|
|
|
|
|
|
edge_dev_win:
|
|
|
|
name: "Edge Dev (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-07-16 22:40:13 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge-dev
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: npm run ctest
|
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge-dev
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-dev-windows"
|
2022-08-05 10:51:45 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-07-16 22:40:13 +03:00
|
|
|
|
|
|
|
edge_dev_linux:
|
|
|
|
name: "Edge Dev (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-07-16 22:40:13 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps msedge-dev
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: msedge-dev
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "edge-dev-linux"
|
2021-07-16 22:40:13 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-07-16 22:40:13 +03:00
|
|
|
|
2021-05-12 03:01:02 +03:00
|
|
|
chrome_beta_linux:
|
|
|
|
name: "Chrome Beta (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-05-12 03:01:02 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps chrome-beta
|
2021-06-04 01:28:57 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chrome-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "chrome-beta-linux"
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-05-12 03:01:02 +03:00
|
|
|
|
|
|
|
chrome_beta_win:
|
|
|
|
name: "Chrome Beta (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-05-12 03:01:02 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps chrome-beta
|
2021-05-29 03:03:18 +03:00
|
|
|
- run: npm run ctest
|
2021-05-12 03:01:02 +03:00
|
|
|
shell: bash
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chrome-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "chrome-beta-windows"
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-05-12 03:01:02 +03:00
|
|
|
|
|
|
|
chrome_beta_mac:
|
|
|
|
name: "Chrome Beta (Mac)"
|
2022-08-03 22:34:41 +03:00
|
|
|
runs-on: macos-latest
|
2021-05-12 03:01:02 +03:00
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-05-12 03:01:02 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2022-04-11 23:42:21 +03:00
|
|
|
- run: npx playwright install --with-deps chrome-beta
|
2021-05-29 03:03:18 +03:00
|
|
|
- run: npm run ctest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chrome-beta
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "chrome-beta-mac"
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-08-05 11:47:44 +03:00
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|
2021-05-12 03:01:02 +03:00
|
|
|
|
2021-07-08 23:50:54 +03:00
|
|
|
build-playwright-driver:
|
|
|
|
name: "build-playwright-driver"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
2022-08-31 18:23:42 +03:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
2021-07-08 23:50:54 +03:00
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2021-07-08 23:50:54 +03:00
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install-deps
|
2021-07-08 23:50:54 +03:00
|
|
|
- run: utils/build/build-playwright-driver.sh
|
2022-09-15 01:05:18 +03:00
|
|
|
|
2023-06-02 21:40:12 +03:00
|
|
|
test_linux_chromium_headless_new:
|
|
|
|
name: Linux Chromium Headless New
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
2023-10-06 02:08:43 +03:00
|
|
|
node-version: 18
|
2023-06-02 21:40:12 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
|
|
|
- run: npx playwright install --with-deps chromium
|
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=chromium
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW: 1
|
2023-08-07 23:38:09 +03:00
|
|
|
PWTEST_BLOB_REPORT_NAME: "headless-new"
|
2023-06-02 21:40:12 +03:00
|
|
|
- run: node tests/config/checkCoverage.js chromium
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
2023-08-18 22:06:17 +03:00
|
|
|
- name: Upload blob report
|
2023-08-18 22:16:26 +03:00
|
|
|
if: always()
|
2023-08-18 22:06:17 +03:00
|
|
|
uses: ./.github/actions/upload-blob-report
|
|
|
|
with:
|
|
|
|
report_dir: blob-report
|