2021-05-12 03:25:05 +03:00
|
|
|
name: "tests 2"
|
2020-02-13 00:52:06 +03:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
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:
|
|
|
|
- master
|
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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2020-04-21 02:57:01 +03:00
|
|
|
- run: npm ci
|
2021-05-21 01:47:22 +03:00
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-03-12 07:22:50 +03:00
|
|
|
- run: node lib/cli/cli install-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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
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-03-12 07:22:50 +03:00
|
|
|
- run: node lib/cli/cli install-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:
|
2021-04-30 22:35:41 +03:00
|
|
|
node-version: 12
|
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-03-12 07:22:50 +03:00
|
|
|
- run: node lib/cli/cli install-deps
|
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
|
|
|
|
2020-04-02 21:25:03 +03:00
|
|
|
test-package-installations:
|
2021-04-05 22:39:15 +03:00
|
|
|
runs-on: ubuntu-20.04
|
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:
|
|
|
|
node_version:
|
|
|
|
- "^12.0.0"
|
|
|
|
- "^14.1.0" # pre 14.1, zip extraction was broken (https://github.com/microsoft/playwright/issues/1988)
|
2021-05-12 19:23:38 +03:00
|
|
|
- "^16.0.0"
|
2021-04-29 21:12:03 +03:00
|
|
|
timeout-minutes: 20
|
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 }}
|
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-03-12 07:22:50 +03:00
|
|
|
- run: node lib/cli/cli install-deps
|
2021-04-17 01:19:44 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash packages/installation-tests/installation-tests.sh
|
2020-05-05 01:15:51 +03:00
|
|
|
|
|
|
|
headful_linux:
|
|
|
|
name: "Headful Linux"
|
2020-07-18 20:50:58 +03:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
browser: [chromium, firefox, webkit]
|
2021-04-05 22:39:15 +03:00
|
|
|
runs-on: ubuntu-20.04
|
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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2020-05-05 01:15:51 +03:00
|
|
|
- run: npm ci
|
2021-05-21 01:47:22 +03:00
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-03-12 07:22:50 +03:00
|
|
|
- run: node lib/cli/cli install-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 }}
|
2020-07-16 21:18:38 +03:00
|
|
|
if: ${{ always() }}
|
2021-05-29 03:03:18 +03:00
|
|
|
env:
|
|
|
|
HEADFUL: 1
|
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-08-13 19:33:43 +03:00
|
|
|
- uses: actions/upload-artifact@v1
|
2020-08-26 01:46:42 +03:00
|
|
|
if: ${{ always() }}
|
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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2020-07-01 04:51:36 +03:00
|
|
|
- run: npm ci
|
2021-05-21 01:47:22 +03:00
|
|
|
env:
|
|
|
|
DEBUG: pw:install
|
2020-07-02 01:22:29 +03:00
|
|
|
- run: npm run build
|
2021-03-12 07:22:50 +03:00
|
|
|
- run: node lib/cli/cli install-deps chromium
|
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_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-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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
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
|
2021-03-12 07:22:50 +03:00
|
|
|
- run: node lib/cli/cli install-deps chromium
|
2021-06-02 09:16:55 +03:00
|
|
|
- run: node lib/cli/cli install 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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2021-03-18 03:24:01 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-06-02 09:16:55 +03:00
|
|
|
- run: node lib/cli/cli install 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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2021-03-18 03:24:01 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-06-02 09:16:55 +03:00
|
|
|
- run: node lib/cli/cli install 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
|
|
|
|
|
2021-04-20 07:26:33 +03:00
|
|
|
firefox_stable_linux:
|
|
|
|
name: "Firefox Stable (Linux)"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
|
|
|
- run: node lib/cli/cli install-deps firefox
|
2021-06-02 09:16:55 +03:00
|
|
|
- run: node lib/cli/cli install firefox-stable 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:
|
|
|
|
PWTEST_CHANNEL: firefox-stable
|
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:
|
|
|
|
name: firefox-stable-linux-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
firefox_stable_win:
|
|
|
|
name: "Firefox Stable (Win)"
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-06-02 20:47:10 +03:00
|
|
|
- run: node lib/cli/cli install-deps chromium
|
2021-06-02 09:16:55 +03:00
|
|
|
- run: node lib/cli/cli install firefox-stable 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:
|
|
|
|
PWTEST_CHANNEL: firefox-stable
|
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:
|
|
|
|
name: firefox-stable-win-test-results
|
|
|
|
path: test-results
|
|
|
|
|
|
|
|
firefox_stable_mac:
|
|
|
|
name: "Firefox Stable (Mac)"
|
|
|
|
runs-on: macos-10.15
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2021-04-20 07:26:33 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-06-02 09:16:55 +03:00
|
|
|
- run: node lib/cli/cli install firefox-stable chromium
|
2021-05-29 03:03:18 +03:00
|
|
|
- run: npm run ftest
|
|
|
|
env:
|
|
|
|
PWTEST_CHANNEL: firefox-stable
|
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:
|
|
|
|
name: firefox-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:
|
2021-04-30 17:49:10 +03:00
|
|
|
node-version: 12
|
2021-03-16 02:00:52 +03:00
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
|
|
|
- run: node lib/cli/cli install ffmpeg
|
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-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:
|
|
|
|
node-version: 12
|
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
|
|
|
- run: node lib/cli/cli install-deps chromium
|
2021-06-02 04:26:12 +03:00
|
|
|
- run: node lib/cli/cli install 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:
|
|
|
|
node-version: 12
|
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-06-02 04:26:12 +03:00
|
|
|
- run: node lib/cli/cli install 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:
|
|
|
|
node-version: 12
|
|
|
|
- run: npm ci
|
|
|
|
env:
|
|
|
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
|
|
- run: npm run build
|
2021-06-02 04:26:12 +03:00
|
|
|
- run: node lib/cli/cli install 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-06-04 01:03:10 +03:00
|
|
|
test_electron:
|
|
|
|
name: "Electron Linux"
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: 12
|
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build
|
|
|
|
- run: node lib/cli/cli install-deps chromium
|
2021-06-04 01:28:57 +03:00
|
|
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run etest
|
2021-06-04 01:03:10 +03:00
|
|
|
- run: node tests/config/checkCoverage.js electron
|
|
|
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
|
|
if: always()
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
if: ${{ always() }}
|
|
|
|
with:
|
|
|
|
name: electron-linux-test-results
|
|
|
|
path: test-results
|
|
|
|
|