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 }}
|
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]
|
2021-05-12 03:01:02 +03:00
|
|
|
os: [ubuntu-18.04]
|
2020-07-29 21:36:38 +03:00
|
|
|
runs-on: ${{ matrix.os }}
|
2020-02-13 00:52:06 +03:00
|
|
|
steps:
|
2020-03-06 20:40:54 +03:00
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2020-02-13 00:52:06 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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 }}
|
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()
|
2020-04-10 02:57:01 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
2020-08-26 01:46:42 +03:00
|
|
|
if: always()
|
2020-04-10 02:57:01 +03:00
|
|
|
with:
|
2020-08-17 05:19:52 +03:00
|
|
|
name: ${{ matrix.browser }}-${{ matrix.os }}-test-results
|
|
|
|
path: test-results
|
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:
|
2020-10-19 20:02:35 +03:00
|
|
|
os: [macos-10.15, macos-11.0]
|
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:
|
2020-03-06 20:40:54 +03:00
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2020-02-13 00:52:06 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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 }}
|
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-04-10 02:57:01 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
2020-08-26 01:46:42 +03:00
|
|
|
if: ${{ always() }}
|
2020-04-10 02:57:01 +03:00
|
|
|
with:
|
2020-10-19 20:02:35 +03:00
|
|
|
name: ${{ matrix.browser }}-${{ matrix.os }}-test-results
|
2020-08-17 05:19:52 +03:00
|
|
|
path: test-results
|
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:
|
2020-03-06 20:40:54 +03:00
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2020-02-13 00:52:06 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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 }}
|
2021-04-05 05:32:14 +03:00
|
|
|
shell: bash
|
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
|
2020-04-10 02:57:01 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
2020-08-26 01:46:42 +03:00
|
|
|
if: ${{ always() }}
|
2020-04-10 02:57:01 +03:00
|
|
|
with:
|
2020-08-17 05:19:52 +03:00
|
|
|
name: ${{ matrix.browser }}-win-test-results
|
|
|
|
path: test-results
|
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
|
2022-06-08 04:11:58 +03:00
|
|
|
node_version: "^18.0.0"
|
2022-04-26 21:09:49 +03:00
|
|
|
- os: ubuntu-latest
|
|
|
|
node_version: "^16.0.0"
|
|
|
|
timeout-minutes: 30
|
2020-04-02 21:25:03 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2020-04-02 21:25:03 +03:00
|
|
|
with:
|
2020-05-01 10:10:52 +03:00
|
|
|
node-version: ${{ matrix.node_version }}
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
2021-10-11 17:52:17 +03:00
|
|
|
- run: npx playwright install-deps
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2020-05-05 01:15:51 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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-')
|
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-')
|
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
|
2020-08-13 19:33:43 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
2022-06-09 15:30:55 +03:00
|
|
|
if: always() && startsWith(matrix.os, 'ubuntu-')
|
2020-08-13 19:33:43 +03:00
|
|
|
with:
|
2020-08-17 05:19:52 +03:00
|
|
|
name: headful-${{ matrix.browser }}-linux-test-results
|
|
|
|
path: test-results
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2020-07-01 04:51:36 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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-04-15 01:30:04 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project='Chromium page tests'
|
|
|
|
if: matrix.mode == 'service'
|
|
|
|
env:
|
|
|
|
PWTEST_MODE: ${{ matrix.mode }}
|
2021-06-04 01:28:57 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
2022-04-15 01:30:04 +03:00
|
|
|
if: matrix.mode != 'service'
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
PWTEST_MODE: ${{ 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()
|
2020-07-01 04:51:36 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
2020-08-26 01:46:42 +03:00
|
|
|
if: ${{ always() }}
|
2020-07-01 04:51:36 +03:00
|
|
|
with:
|
2020-11-21 02:19:39 +03:00
|
|
|
name: mode-${{ matrix.mode }}-linux-test-results
|
2020-08-17 05:19:52 +03:00
|
|
|
path: test-results
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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 }}
|
2021-08-20 05:09:19 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2021-03-10 06:19:21 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
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-03-10 06:19:21 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
2021-03-18 03:24:01 +03:00
|
|
|
name: chrome-stable-linux-test-results
|
2021-03-10 06:19:21 +03:00
|
|
|
path: test-results
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2021-03-18 03:24:01 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
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
|
2021-03-18 03:24:01 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: chrome-stable-win-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
chrome_stable_mac:
|
|
|
|
name: "Chrome Stable (Mac)"
|
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2021-03-18 03:24:01 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
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-03-18 03:24:01 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: chrome-stable-mac-test-results
|
|
|
|
path: test-results
|
|
|
|
|
2022-05-12 17:44:13 +03:00
|
|
|
chromium_tot:
|
|
|
|
name: Chromium TOT ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
# note: unbuntu-latest is covered in tests_primary
|
|
|
|
os: [ubuntu-18.04, macos-10.15, macos-11.0, windows-latest]
|
2022-04-22 19:43:57 +03:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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-05-12 17:44:13 +03:00
|
|
|
if: matrix.os == 'ubuntu-18.04'
|
2022-04-22 19:43:57 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
|
|
|
- run: npm run ctest
|
2022-05-12 17:44:13 +03:00
|
|
|
if: matrix.os != 'ubuntu-18.04'
|
2022-04-22 19:43:57 +03:00
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
|
|
|
- uses: actions/upload-artifact@v1
|
2022-05-12 17:44:13 +03:00
|
|
|
if: always()
|
2022-04-22 19:43:57 +03:00
|
|
|
with:
|
2022-05-12 17:44:13 +03:00
|
|
|
name: chromium-tot-${{ matrix.os }}-test-results
|
2022-04-22 19:43:57 +03:00
|
|
|
path: test-results
|
|
|
|
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- 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
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
2022-05-12 17:44:13 +03:00
|
|
|
shell: bash
|
2022-04-22 19:43:57 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
2022-05-12 17:44:13 +03:00
|
|
|
if: always()
|
2022-04-22 19:43:57 +03:00
|
|
|
with:
|
2022-05-12 17:44:13 +03:00
|
|
|
name: chromium-tot-headed-${{ matrix.os }}-test-results
|
2022-04-22 19:43:57 +03:00
|
|
|
path: test-results
|
|
|
|
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
2021-06-08 19:34:17 +03:00
|
|
|
name: firefox-beta-linux-test-results
|
2021-04-20 07:26:33 +03:00
|
|
|
path: test-results
|
|
|
|
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
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
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
2021-06-08 19:34:17 +03:00
|
|
|
name: firefox-beta-win-test-results
|
2021-04-20 07:26:33 +03:00
|
|
|
path: test-results
|
|
|
|
|
2021-06-08 19:34:17 +03:00
|
|
|
firefox_beta_mac:
|
|
|
|
name: "Firefox Beta (Mac)"
|
2021-04-20 07:26:33 +03:00
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
2021-06-08 19:34:17 +03:00
|
|
|
name: firefox-beta-mac-test-results
|
2021-04-20 07:26:33 +03:00
|
|
|
path: test-results
|
|
|
|
|
2021-06-07 10:23:22 +03:00
|
|
|
edge_stable_mac:
|
|
|
|
name: "Edge Stable (Mac)"
|
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: msedge-stable-mac-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
2021-04-05 22:39:15 +03:00
|
|
|
- uses: actions/setup-node@v2
|
2021-03-16 02:00:52 +03:00
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
2021-03-16 02:00:52 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
2021-03-18 03:24:01 +03:00
|
|
|
name: edge-stable-win-test-results
|
2021-03-16 02:00:52 +03:00
|
|
|
path: test-results
|
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:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: edge-stable-linux-test-results
|
|
|
|
path: test-results
|
|
|
|
|
2021-07-02 22:55:46 +03:00
|
|
|
edge_beta_mac:
|
|
|
|
name: "Edge Beta (Mac)"
|
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: msedge-beta-mac-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
edge_beta_win:
|
|
|
|
name: "Edge Beta (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: edge-beta-win-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
edge_beta_linux:
|
|
|
|
name: "Edge Beta (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: edge-beta-linux-test-results
|
|
|
|
path: test-results
|
|
|
|
|
2021-07-16 22:40:13 +03:00
|
|
|
edge_dev_mac:
|
|
|
|
name: "Edge Dev (Mac)"
|
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: msedge-dev-mac-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
edge_dev_win:
|
|
|
|
name: "Edge Dev (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: edge-dev-win-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
edge_dev_linux:
|
|
|
|
name: "Edge Dev (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: edge-dev-linux-test-results
|
|
|
|
path: test-results
|
|
|
|
|
2021-05-12 03:01:02 +03:00
|
|
|
chrome_beta_linux:
|
|
|
|
name: "Chrome Beta (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: chrome-beta-linux-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
chrome_beta_win:
|
|
|
|
name: "Chrome Beta (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
2021-05-26 03:32:08 +03:00
|
|
|
- uses: actions/checkout@v2
|
2021-05-12 03:01:02 +03:00
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
shell: bash
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: chrome-beta-win-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
chrome_beta_mac:
|
|
|
|
name: "Chrome Beta (Mac)"
|
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|
2021-05-12 03:01:02 +03:00
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: chrome-beta-mac-test-results
|
|
|
|
path: test-results
|
|
|
|
|
2021-07-08 23:50:54 +03:00
|
|
|
build-playwright-driver:
|
|
|
|
name: "build-playwright-driver"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2022-04-26 13:20:26 +03:00
|
|
|
node-version: 14
|
2022-04-26 18:52:10 +03:00
|
|
|
- run: npm i -g npm@8
|
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
|