mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: add more chromium-tip-of-tree bots (#14120)
This commit is contained in:
parent
7cad1df28b
commit
c5face5ecc
78
.github/workflows/tests_secondary.yml
vendored
78
.github/workflows/tests_secondary.yml
vendored
@ -209,11 +209,16 @@ jobs:
|
|||||||
path: test-results
|
path: test-results
|
||||||
|
|
||||||
tracing_linux:
|
tracing_linux:
|
||||||
name: "Tracing"
|
name: Tracing ${{ matrix.browser }} ${{ matrix.channel }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
browser: [chromium, firefox, webkit]
|
include:
|
||||||
|
- browser: chromium
|
||||||
|
- browser: firefox
|
||||||
|
- browser: webkit
|
||||||
|
- browser: chromium
|
||||||
|
channel: chromium-tip-of-tree
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -226,10 +231,11 @@ jobs:
|
|||||||
DEBUG: pw:install
|
DEBUG: pw:install
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium
|
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium ${{ matrix.channel }}
|
||||||
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }}
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }}
|
||||||
env:
|
env:
|
||||||
PWTEST_TRACE: 1
|
PWTEST_TRACE: 1
|
||||||
|
PWTEST_CHANNEL: ${{ matrix.channel }}
|
||||||
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
||||||
if: always()
|
if: always()
|
||||||
|
|
||||||
@ -310,9 +316,14 @@ jobs:
|
|||||||
name: chrome-stable-mac-test-results
|
name: chrome-stable-mac-test-results
|
||||||
path: test-results
|
path: test-results
|
||||||
|
|
||||||
chromium_tot_linux:
|
chromium_tot:
|
||||||
name: "Chromium TOT (Linux)"
|
name: Chromium TOT ${{ matrix.os }}
|
||||||
runs-on: ubuntu-20.04
|
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]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
@ -325,19 +336,29 @@ jobs:
|
|||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npx playwright install --with-deps chromium-tip-of-tree
|
- run: npx playwright install --with-deps chromium-tip-of-tree
|
||||||
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest
|
||||||
|
if: matrix.os == 'ubuntu-18.04'
|
||||||
|
env:
|
||||||
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
||||||
|
- run: npm run ctest
|
||||||
|
if: matrix.os != 'ubuntu-18.04'
|
||||||
env:
|
env:
|
||||||
PWTEST_CHANNEL: chromium-tip-of-tree
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
||||||
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
||||||
if: always()
|
if: always()
|
||||||
|
shell: bash
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
if: ${{ always() }}
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: chromium-tot-linux-test-results
|
name: chromium-tot-${{ matrix.os }}-test-results
|
||||||
path: test-results
|
path: test-results
|
||||||
|
|
||||||
chromium_tot_win:
|
chromium_tot_headed:
|
||||||
name: "Chromium TOT (Win)"
|
name: Chromium TOT headed ${{ matrix.os }}
|
||||||
runs-on: windows-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
@ -349,42 +370,21 @@ jobs:
|
|||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npx playwright install --with-deps chromium-tip-of-tree
|
- run: npx playwright install --with-deps chromium-tip-of-tree
|
||||||
- run: npm run ctest
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest -- --headed
|
||||||
shell: bash
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
env:
|
||||||
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
||||||
|
- run: npm run ctest -- --headed
|
||||||
|
if: matrix.os != 'ubuntu-latest'
|
||||||
env:
|
env:
|
||||||
PWTEST_CHANNEL: chromium-tip-of-tree
|
PWTEST_CHANNEL: chromium-tip-of-tree
|
||||||
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
||||||
if: always()
|
if: always()
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
if: ${{ always() }}
|
|
||||||
with:
|
|
||||||
name: chromium-tot-win-test-results
|
|
||||||
path: test-results
|
|
||||||
|
|
||||||
chromium_tot_mac:
|
|
||||||
name: "Chromium TOT (Mac)"
|
|
||||||
runs-on: macos-10.15
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: 14
|
|
||||||
- run: npm i -g npm@8
|
|
||||||
- run: npm ci
|
|
||||||
env:
|
|
||||||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
|
|
||||||
- run: npm run build
|
|
||||||
- run: npx playwright install --with-deps chromium-tip-of-tree
|
|
||||||
- run: npm run ctest
|
|
||||||
env:
|
|
||||||
PWTEST_CHANNEL: chromium-tip-of-tree
|
|
||||||
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
|
||||||
if: always()
|
if: always()
|
||||||
- uses: actions/upload-artifact@v1
|
|
||||||
if: ${{ always() }}
|
|
||||||
with:
|
with:
|
||||||
name: chromium-tot-mac-test-results
|
name: chromium-tot-headed-${{ matrix.os }}-test-results
|
||||||
path: test-results
|
path: test-results
|
||||||
|
|
||||||
firefox_beta_linux:
|
firefox_beta_linux:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user