Browse Source

devops: run tests on ubuntu 22 (#14741)

pull/14746/head
Max Schmitt 2 weeks ago committed by GitHub
parent
commit
deaef17e70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/tests_primary.yml
  2. 8
      .github/workflows/tests_secondary.yml
  3. 3
      .github/workflows/tests_video.yml

2
.github/workflows/tests_primary.yml

@ -31,7 +31,7 @@ jobs:
fail-fast: false
matrix:
browser: [chromium, firefox, webkit]
os: [ubuntu-20.04]
os: [ubuntu-20.04, ubuntu-22.04]
node-version: [14]
include:
- os: ubuntu-20.04

8
.github/workflows/tests_secondary.yml

@ -146,7 +146,7 @@ jobs:
fail-fast: false
matrix:
browser: [chromium, firefox, webkit]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
@ -161,14 +161,14 @@ jobs:
- run: npm run build
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }} --headed
if: always() && matrix.os == 'ubuntu-latest'
if: always() && startsWith(matrix.os, 'ubuntu-')
- run: npm run test -- --project=${{ matrix.browser }} --headed
if: always() && matrix.os != 'ubuntu-latest'
if: always() && !startsWith(matrix.os, 'ubuntu-')
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always()
shell: bash
- uses: actions/upload-artifact@v1
if: always() && matrix.os == 'ubuntu-latest'
if: always() && startsWith(matrix.os, 'ubuntu-')
with:
name: headful-${{ matrix.browser }}-linux-test-results
path: test-results

3
.github/workflows/tests_video.yml

@ -18,7 +18,8 @@ jobs:
fail-fast: false
matrix:
browser: [chromium, firefox, webkit]
runs-on: ubuntu-20.04
os: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2

Loading…
Cancel
Save