devops: migrate to download/upload-artifact@v4 (#28850)

`actions/upload-artifact@v4` comes with the following [breaking
change](https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes):
"Due to how Artifacts are created in this new version, it is no longer
possible to upload to the same named Artifact multiple times. You must
either split the uploads into multiple Artifacts with different names,
or only upload once. Otherwise you will encounter an error."

Due to that we cannot copy multiple blob report folders into the same
artifact name and rely on the action to merge them. Instead, as
suggested by their migration guide, we upload each blob report into a
uniquely named artifact with prefix `blob-report-` and then download all
of them into same directory.

This version change also affects how we store pull_request_number.txt
into an artifact. Previously we relied on the fact that uploading
artifact with the same name would silently override existing one, but
now it's an error. To overcome that, we upload PR number file into
uniquely named artifacts `pull-request-*` and later extract them into
same location with `unzip -n` which will never override existing file,
so we end up with single `pull_request_number.txt`.

Reference #28800
This commit is contained in:
Yury Semikhatsky 2024-01-04 09:13:55 -08:00 committed by GitHub
parent edf369ea3c
commit 6c2c777cae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 151 additions and 91 deletions

View file

@ -1,8 +1,8 @@
name: 'Download blob report' name: 'Download artifacts'
description: 'Download blob report from GitHub artifacts' description: 'Download artifacts from GitHub'
inputs: inputs:
name: namePrefix:
description: 'Name of the artifact to download' description: 'Name prefix of the artifacts to download'
required: true required: true
type: string type: string
default: 'blob-report' default: 'blob-report'
@ -10,11 +10,14 @@ inputs:
description: 'Directory with downloaded artifacts' description: 'Directory with downloaded artifacts'
required: true required: true
type: string type: string
default: 'blob-report' default: '.'
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Download blob report - name: Create temp downloads dir
shell: bash
run: mkdir -p '${{ inputs.path }}/artifacts'
- name: Download artifacts
uses: actions/github-script@v6 uses: actions/github-script@v6
with: with:
script: | script: |
@ -25,16 +28,19 @@ runs:
run_id: context.payload.workflow_run.id run_id: context.payload.workflow_run.id
}); });
console.log('total = ', data.total_count); console.log('total = ', data.total_count);
const name = '${{ inputs.name }}'; const artifacts = data.artifacts.filter(a => a.name.startsWith('${{ inputs.namePrefix }}'));
const report = data.artifacts.filter(a => a.name === name)[0];
const result = await github.rest.actions.downloadArtifact({
...context.repo,
artifact_id: report.id,
archive_format: 'zip'
});
console.log('download result', result);
const fs = require('fs'); const fs = require('fs');
fs.writeFileSync(`${name}.zip`, Buffer.from(result.data)); for (const artifact of artifacts) {
- name: Unzip blob report const result = await github.rest.actions.downloadArtifact({
...context.repo,
artifact_id: artifact.id,
archive_format: 'zip'
});
console.log('downloaded artifact', result);
fs.writeFileSync(`${{ inputs.path }}/artifacts/${artifact.name}.zip`, Buffer.from(result.data));
}
- name: Unzip artifacts
shell: bash shell: bash
run: unzip ${{ inputs.name }}.zip -d ${{ inputs.path }} run: |
unzip -n '${{ inputs.path }}/artifacts/*.zip' -d ${{ inputs.path }}
rm -rf '${{ inputs.path }}/artifacts'

View file

@ -5,15 +5,20 @@ inputs:
description: 'Directory containing blob report' description: 'Directory containing blob report'
required: true required: true
type: string type: string
default: 'blob-report' default: 'test-results/blob-report'
job_name:
description: 'Unique job name'
required: true
type: string
default: ''
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Upload blob report to GitHub - name: Upload blob report to GitHub
if: always() && github.event_name == 'pull_request' if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: all-blob-reports name: blob-report-${{ inputs.job_name }}
path: ${{ inputs.report_dir }} path: ${{ inputs.report_dir }}
retention-days: 7 retention-days: 7
- name: Write triggering pull request number in a file - name: Write triggering pull request number in a file
@ -22,7 +27,7 @@ runs:
run: echo '${{ github.event.number }}' > pull_request_number.txt; run: echo '${{ github.event.number }}' > pull_request_number.txt;
- name: Upload artifact with the pull request number - name: Upload artifact with the pull request number
if: always() && github.event_name == 'pull_request' if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: pull-request name: pull-request-${{ inputs.job_name }}
path: pull_request_number.txt path: pull_request_number.txt

View file

@ -26,8 +26,8 @@ jobs:
- name: Download blob report artifact - name: Download blob report artifact
uses: ./.github/actions/download-artifact uses: ./.github/actions/download-artifact
with: with:
name: all-blob-reports namePrefix: 'blob-report'
path: all-blob-reports path: 'all-blob-reports'
- name: Merge reports - name: Merge reports
run: | run: |
@ -49,8 +49,8 @@ jobs:
- name: Read pull request number - name: Read pull request number
uses: ./.github/actions/download-artifact uses: ./.github/actions/download-artifact
with: with:
name: 'pull-request' namePrefix: 'pull-request'
path: './' path: '.'
- name: Comment on PR - name: Comment on PR
uses: actions/github-script@v6 uses: actions/github-script@v6

View file

@ -42,6 +42,8 @@ jobs:
node-version: 20 node-version: 20
browser: chromium browser: chromium
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}-node${{ matrix.node-version }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -54,8 +56,6 @@ jobs:
- 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
- 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:
PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}-node${{ matrix.node-version }}"
- run: node tests/config/checkCoverage.js ${{ matrix.browser }} - run: node tests/config/checkCoverage.js ${{ matrix.browser }}
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always() if: always()
@ -65,6 +65,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
test_linux_chromium_tot: test_linux_chromium_tot:
name: ${{ matrix.os }} (chromium tip-of-tree) name: ${{ matrix.os }} (chromium tip-of-tree)
@ -73,6 +74,8 @@ jobs:
matrix: matrix:
os: [ubuntu-20.04] os: [ubuntu-20.04]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_BOT_NAME: "${{ matrix.os }}-chromium-tip-of-tree"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -96,6 +99,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
test_test_runner: test_test_runner:
name: Test Runner name: Test Runner
@ -104,21 +108,28 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18] node-version: [18]
shard: [1/2, 2/2] shardIndex: [1, 2]
shardTotal: [2]
include: include:
- os: ubuntu-latest - os: ubuntu-latest
node-version: 16 node-version: 16
shard: 1/2 shardIndex: 1
shardTotal: 2
- os: ubuntu-latest - os: ubuntu-latest
node-version: 16 node-version: 16
shard: 2/2 shardIndex: 2
shardTotal: 2
- os: ubuntu-latest - os: ubuntu-latest
node-version: 20 node-version: 20
shard: 1/2 shardIndex: 1
shardTotal: 2
- os: ubuntu-latest - os: ubuntu-latest
node-version: 20 node-version: 20
shard: 2/2 shardIndex: 2
shardTotal: 2
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_BOT_NAME: "${{ matrix.os }}-node${{ matrix.node-version }}-${{ matrix.shardIndex }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -129,13 +140,9 @@ jobs:
DEBUG: pw:install DEBUG: pw:install
- run: npm run build - run: npm run build
- run: npx playwright install --with-deps - run: npx playwright install --with-deps
- run: npm run ttest -- --shard ${{ matrix.shard }} - run: npm run ttest -- --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
env:
PWTEST_BOT_NAME: "${{ matrix.os }}-node${{ matrix.node-version }}-${{ matrix.shard }}"
if: matrix.os != 'ubuntu-latest' if: matrix.os != 'ubuntu-latest'
- run: xvfb-run npm run ttest -- --shard ${{ matrix.shard }} - run: xvfb-run npm run ttest -- --shard ${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
env:
PWTEST_BOT_NAME: "${{ matrix.os }}-node${{ matrix.node-version }}-${{ matrix.shard }}"
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always() if: always()
@ -145,6 +152,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
test_web_components: test_web_components:
name: Web Components name: Web Components
@ -168,6 +176,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: packages/html-reporter/blob-report report_dir: packages/html-reporter/blob-report
job_name: "web-components-html-reporter"
- run: npm run test-web - run: npm run test-web
if: always() if: always()
@ -178,10 +187,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: packages/web/blob-report report_dir: packages/web/blob-report
job_name: "web-components-web"
test_vscode_extension: test_vscode_extension:
name: VSCode Extension name: VSCode Extension
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
PWTEST_BOT_NAME: "vscode-extension"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -205,18 +217,16 @@ jobs:
working-directory: ./playwright-vscode working-directory: ./playwright-vscode
- name: Run extension tests - name: Run extension tests
run: npm run test -- --workers=1 run: npm run test -- --workers=1
env:
PWTEST_BOT_NAME: "vscode-extension"
working-directory: ./playwright-vscode working-directory: ./playwright-vscode
- name: Upload blob report - name: Upload blob report
if: always() if: always()
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: ./playwright-vscode/blob-report report_dir: playwright-vscode/blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
test_package_installations: test_package_installations:
name: "Installation Test ${{ matrix.os }}" name: "Installation Test ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -224,7 +234,10 @@ jobs:
- ubuntu-latest - ubuntu-latest
- macos-latest - macos-latest
- windows-latest - windows-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 30 timeout-minutes: 30
env:
PWTEST_BOT_NAME: "package-installations-${{ matrix.os }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -239,12 +252,8 @@ jobs:
- run: npm install -g pnpm@8 - run: npm install -g pnpm@8
- run: npm run itest - run: npm run itest
if: matrix.os != 'ubuntu-latest' if: matrix.os != 'ubuntu-latest'
env:
PWTEST_BOT_NAME: "package-installations-${{ matrix.os }}"
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run itest - run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run itest
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
env:
PWTEST_BOT_NAME: "package-installations-${{ matrix.os }}"
- 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
@ -253,3 +262,4 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}

View file

@ -29,6 +29,8 @@ jobs:
browser: [chromium, firefox, webkit] browser: [chromium, firefox, webkit]
os: [ubuntu-20.04] os: [ubuntu-20.04]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -41,8 +43,6 @@ jobs:
- 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
- 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:
PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}"
- run: node tests/config/checkCoverage.js ${{ matrix.browser }} - run: node tests/config/checkCoverage.js ${{ matrix.browser }}
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always() if: always()
@ -52,6 +52,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
test_mac: test_mac:
name: ${{ matrix.os }} (${{ matrix.browser }}) name: ${{ matrix.os }} (${{ matrix.browser }})
@ -61,6 +62,8 @@ jobs:
os: [macos-12, macos-13] os: [macos-12, macos-13]
browser: [chromium, firefox, webkit] browser: [chromium, firefox, webkit]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -73,8 +76,6 @@ jobs:
- 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
- run: npm run test -- --project=${{ matrix.browser }} - run: npm run test -- --project=${{ matrix.browser }}
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-${{ matrix.os }}"
- 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
@ -83,6 +84,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
test_win: test_win:
name: "Windows" name: "Windows"
@ -91,6 +93,8 @@ jobs:
matrix: matrix:
browser: [chromium, firefox, webkit] browser: [chromium, firefox, webkit]
runs-on: windows-latest runs-on: windows-latest
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-windows-latest"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -105,13 +109,9 @@ jobs:
- run: npm run test -- --project=${{ matrix.browser }} --workers=1 - run: npm run test -- --project=${{ matrix.browser }} --workers=1
if: matrix.browser == 'firefox' if: matrix.browser == 'firefox'
shell: bash shell: bash
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-windows-latest"
- run: npm run test -- --project=${{ matrix.browser }} - run: npm run test -- --project=${{ matrix.browser }}
if: matrix.browser != 'firefox' if: matrix.browser != 'firefox'
shell: bash shell: bash
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-windows-latest"
- 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
@ -120,6 +120,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
test-package-installations-other-node-versions: test-package-installations-other-node-versions:
name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})" name: "Installation Test ${{ matrix.os }} (${{ matrix.node_version }})"
@ -161,6 +162,8 @@ jobs:
browser: [chromium, firefox, webkit] browser: [chromium, firefox, webkit]
os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest] os: [ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-headed-${{ matrix.os }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -174,12 +177,8 @@ jobs:
- run: npx playwright install --with-deps ${{ matrix.browser }} chromium - 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 - run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }} --headed
if: always() && startsWith(matrix.os, 'ubuntu-') if: always() && startsWith(matrix.os, 'ubuntu-')
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-headed-${{ matrix.os }}"
- run: npm run test -- --project=${{ matrix.browser }} --headed - run: npm run test -- --project=${{ matrix.browser }} --headed
if: always() && !startsWith(matrix.os, 'ubuntu-') if: always() && !startsWith(matrix.os, 'ubuntu-')
env:
PWTEST_BOT_NAME: "${{ matrix.browser }}-headed-${{ matrix.os }}"
- 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
@ -188,6 +187,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
transport_linux: transport_linux:
name: "Transport" name: "Transport"
@ -196,6 +196,8 @@ jobs:
matrix: matrix:
mode: [driver, service] mode: [driver, service]
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "${{ matrix.mode }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -210,7 +212,6 @@ jobs:
- 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
env: env:
PWTEST_MODE: ${{ matrix.mode }} PWTEST_MODE: ${{ matrix.mode }}
PWTEST_BOT_NAME: "${{ matrix.mode }}"
- 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
@ -219,6 +220,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
tracing_linux: tracing_linux:
name: Tracing ${{ matrix.browser }} ${{ matrix.channel }} name: Tracing ${{ matrix.browser }} ${{ matrix.channel }}
@ -232,6 +234,8 @@ jobs:
- browser: chromium - browser: chromium
channel: chromium-tip-of-tree channel: chromium-tip-of-tree
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "tracing-${{ matrix.channel || matrix.browser }}"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -247,7 +251,6 @@ jobs:
env: env:
PWTEST_TRACE: 1 PWTEST_TRACE: 1
PWTEST_CHANNEL: ${{ matrix.channel }} PWTEST_CHANNEL: ${{ matrix.channel }}
PWTEST_BOT_NAME: "tracing-${{ matrix.channel || matrix.browser }}"
- 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
@ -256,10 +259,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chrome_stable_linux: chrome_stable_linux:
name: "Chrome Stable (Linux)" name: "Chrome Stable (Linux)"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "chrome-stable-linux"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -273,7 +279,6 @@ jobs:
- 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
env: env:
PWTEST_CHANNEL: chrome PWTEST_CHANNEL: chrome
PWTEST_BOT_NAME: "chrome-stable-linux"
- 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
@ -282,10 +287,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chrome_stable_win: chrome_stable_win:
name: "Chrome Stable (Win)" name: "Chrome Stable (Win)"
runs-on: windows-latest runs-on: windows-latest
env:
PWTEST_BOT_NAME: "chrome-stable-windows"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -300,7 +308,6 @@ jobs:
shell: bash shell: bash
env: env:
PWTEST_CHANNEL: chrome PWTEST_CHANNEL: chrome
PWTEST_BOT_NAME: "chrome-stable-windows"
- 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
@ -309,10 +316,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chrome_stable_mac: chrome_stable_mac:
name: "Chrome Stable (Mac)" name: "Chrome Stable (Mac)"
runs-on: macos-latest runs-on: macos-latest
env:
PWTEST_BOT_NAME: "chrome-stable-mac"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -326,7 +336,6 @@ jobs:
- run: npm run ctest - run: npm run ctest
env: env:
PWTEST_CHANNEL: chrome PWTEST_CHANNEL: chrome
PWTEST_BOT_NAME: "chrome-stable-mac"
- 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
@ -335,10 +344,14 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chromium_tot: chromium_tot:
name: Chromium TOT ${{ matrix.os }} name: Chromium TOT ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_CHANNEL: chromium-tip-of-tree
PWTEST_BOT_NAME: "tip-of-tree-${{ matrix.os }}"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -355,14 +368,8 @@ jobs:
- 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-20.04' if: matrix.os == 'ubuntu-20.04'
env:
PWTEST_CHANNEL: chromium-tip-of-tree
PWTEST_BOT_NAME: "tip-of-tree-${{ matrix.os }}"
- run: npm run ctest - run: npm run ctest
if: matrix.os != 'ubuntu-20.04' if: matrix.os != 'ubuntu-20.04'
env:
PWTEST_CHANNEL: chromium-tip-of-tree
PWTEST_BOT_NAME: "tip-of-tree-${{ matrix.os }}"
- 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
@ -371,10 +378,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chromium_tot_headed: chromium_tot_headed:
name: Chromium TOT headed ${{ matrix.os }} name: Chromium TOT headed ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
env:
PWTEST_BOT_NAME: "tip-of-tree-headed-${{ matrix.os }}"
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -391,14 +401,10 @@ jobs:
- 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 -- --headed - run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ctest -- --headed
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
env:
PWTEST_CHANNEL: chromium-tip-of-tree
PWTEST_BOT_NAME: "tip-of-tree-headed-${{ matrix.os }}"
- run: npm run ctest -- --headed - run: npm run ctest -- --headed
if: matrix.os != 'ubuntu-latest' if: matrix.os != 'ubuntu-latest'
env: env:
PWTEST_CHANNEL: chromium-tip-of-tree PWTEST_CHANNEL: chromium-tip-of-tree
PWTEST_BOT_NAME: "tip-of-tree-headed-${{ matrix.os }}"
- 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
@ -407,10 +413,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
firefox_beta_linux: firefox_beta_linux:
name: "Firefox Beta (Linux)" name: "Firefox Beta (Linux)"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "firefox-beta-linux"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -424,7 +433,6 @@ jobs:
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ftest - run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run ftest
env: env:
PWTEST_CHANNEL: firefox-beta PWTEST_CHANNEL: firefox-beta
PWTEST_BOT_NAME: "firefox-beta-linux"
- 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
@ -433,10 +441,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
firefox_beta_win: firefox_beta_win:
name: "Firefox Beta (Win)" name: "Firefox Beta (Win)"
runs-on: windows-latest runs-on: windows-latest
env:
PWTEST_BOT_NAME: "firefox-beta-windows"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -451,7 +462,6 @@ jobs:
shell: bash shell: bash
env: env:
PWTEST_CHANNEL: firefox-beta PWTEST_CHANNEL: firefox-beta
PWTEST_BOT_NAME: "firefox-beta-windows"
- 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
@ -460,10 +470,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
firefox_beta_mac: firefox_beta_mac:
name: "Firefox Beta (Mac)" name: "Firefox Beta (Mac)"
runs-on: macos-latest runs-on: macos-latest
env:
PWTEST_BOT_NAME: "firefox-beta-mac"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -477,7 +490,6 @@ jobs:
- run: npm run ftest - run: npm run ftest
env: env:
PWTEST_CHANNEL: firefox-beta PWTEST_CHANNEL: firefox-beta
PWTEST_BOT_NAME: "firefox-beta-mac"
- 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
@ -486,10 +498,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_stable_mac: edge_stable_mac:
name: "Edge Stable (Mac)" name: "Edge Stable (Mac)"
runs-on: macos-latest runs-on: macos-latest
env:
PWTEST_BOT_NAME: "edge-stable-mac"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -503,7 +518,6 @@ jobs:
- run: npm run ctest - run: npm run ctest
env: env:
PWTEST_CHANNEL: msedge PWTEST_CHANNEL: msedge
PWTEST_BOT_NAME: "edge-stable-mac"
- 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
@ -512,10 +526,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_stable_win: edge_stable_win:
name: "Edge Stable (Win)" name: "Edge Stable (Win)"
runs-on: windows-latest runs-on: windows-latest
env:
PWTEST_BOT_NAME: "edge-stable-windows"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -530,7 +547,6 @@ jobs:
shell: bash shell: bash
env: env:
PWTEST_CHANNEL: msedge PWTEST_CHANNEL: msedge
PWTEST_BOT_NAME: "edge-stable-windows"
- 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
@ -539,10 +555,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_stable_linux: edge_stable_linux:
name: "Edge Stable (Linux)" name: "Edge Stable (Linux)"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "edge-stable-linux"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -556,7 +575,6 @@ jobs:
- 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
env: env:
PWTEST_CHANNEL: msedge PWTEST_CHANNEL: msedge
PWTEST_BOT_NAME: "edge-stable-linux"
- 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
@ -565,10 +583,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_beta_mac: edge_beta_mac:
name: "Edge Beta (Mac)" name: "Edge Beta (Mac)"
runs-on: macos-latest runs-on: macos-latest
env:
PWTEST_BOT_NAME: "edge-beta-mac"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -582,7 +603,6 @@ jobs:
- run: npm run ctest - run: npm run ctest
env: env:
PWTEST_CHANNEL: msedge-beta PWTEST_CHANNEL: msedge-beta
PWTEST_BOT_NAME: "edge-beta-mac"
- 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
@ -591,10 +611,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_beta_win: edge_beta_win:
name: "Edge Beta (Win)" name: "Edge Beta (Win)"
runs-on: windows-latest runs-on: windows-latest
env:
PWTEST_BOT_NAME: "edge-beta-windows"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -609,7 +632,6 @@ jobs:
shell: bash shell: bash
env: env:
PWTEST_CHANNEL: msedge-beta PWTEST_CHANNEL: msedge-beta
PWTEST_BOT_NAME: "edge-beta-windows"
- 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
@ -618,10 +640,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_beta_linux: edge_beta_linux:
name: "Edge Beta (Linux)" name: "Edge Beta (Linux)"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "edge-beta-linux"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -635,7 +660,6 @@ jobs:
- 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
env: env:
PWTEST_CHANNEL: msedge-beta PWTEST_CHANNEL: msedge-beta
PWTEST_BOT_NAME: "edge-beta-linux"
- 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
@ -644,10 +668,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_dev_mac: edge_dev_mac:
name: "Edge Dev (Mac)" name: "Edge Dev (Mac)"
runs-on: macos-latest runs-on: macos-latest
env:
PWTEST_BOT_NAME: "edge-dev-mac"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -661,7 +688,6 @@ jobs:
- run: npm run ctest - run: npm run ctest
env: env:
PWTEST_CHANNEL: msedge-dev PWTEST_CHANNEL: msedge-dev
PWTEST_BOT_NAME: "edge-dev-mac"
- 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
@ -670,10 +696,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_dev_win: edge_dev_win:
name: "Edge Dev (Win)" name: "Edge Dev (Win)"
runs-on: windows-latest runs-on: windows-latest
env:
PWTEST_BOT_NAME: "edge-dev-windows"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -688,7 +717,6 @@ jobs:
shell: bash shell: bash
env: env:
PWTEST_CHANNEL: msedge-dev PWTEST_CHANNEL: msedge-dev
PWTEST_BOT_NAME: "edge-dev-windows"
- 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
@ -697,10 +725,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
edge_dev_linux: edge_dev_linux:
name: "Edge Dev (Linux)" name: "Edge Dev (Linux)"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "edge-dev-linux"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -714,7 +745,6 @@ jobs:
- 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
env: env:
PWTEST_CHANNEL: msedge-dev PWTEST_CHANNEL: msedge-dev
PWTEST_BOT_NAME: "edge-dev-linux"
- 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
@ -723,10 +753,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chrome_beta_linux: chrome_beta_linux:
name: "Chrome Beta (Linux)" name: "Chrome Beta (Linux)"
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
env:
PWTEST_BOT_NAME: "chrome-beta-linux"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -740,7 +773,6 @@ jobs:
- 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
env: env:
PWTEST_CHANNEL: chrome-beta PWTEST_CHANNEL: chrome-beta
PWTEST_BOT_NAME: "chrome-beta-linux"
- 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
@ -749,10 +781,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chrome_beta_win: chrome_beta_win:
name: "Chrome Beta (Win)" name: "Chrome Beta (Win)"
runs-on: windows-latest runs-on: windows-latest
env:
PWTEST_BOT_NAME: "chrome-beta-windows"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -767,7 +802,6 @@ jobs:
shell: bash shell: bash
env: env:
PWTEST_CHANNEL: chrome-beta PWTEST_CHANNEL: chrome-beta
PWTEST_BOT_NAME: "chrome-beta-windows"
- 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
@ -776,10 +810,13 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
chrome_beta_mac: chrome_beta_mac:
name: "Chrome Beta (Mac)" name: "Chrome Beta (Mac)"
runs-on: macos-latest runs-on: macos-latest
env:
PWTEST_BOT_NAME: "chrome-beta-mac"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -793,7 +830,6 @@ jobs:
- run: npm run ctest - run: npm run ctest
env: env:
PWTEST_CHANNEL: chrome-beta PWTEST_CHANNEL: chrome-beta
PWTEST_BOT_NAME: "chrome-beta-mac"
- 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
@ -802,6 +838,7 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}
build-playwright-driver: build-playwright-driver:
name: "build-playwright-driver" name: "build-playwright-driver"
@ -819,6 +856,8 @@ jobs:
test_linux_chromium_headless_new: test_linux_chromium_headless_new:
name: Linux Chromium Headless New name: Linux Chromium Headless New
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
PWTEST_BOT_NAME: "headless-new"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -833,7 +872,6 @@ jobs:
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=chromium - run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=chromium
env: env:
PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW: 1 PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW: 1
PWTEST_BOT_NAME: "headless-new"
- run: node tests/config/checkCoverage.js chromium - run: node tests/config/checkCoverage.js chromium
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json - run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
if: always() if: always()
@ -843,3 +881,4 @@ jobs:
uses: ./.github/actions/upload-blob-report uses: ./.github/actions/upload-blob-report
with: with:
report_dir: blob-report report_dir: blob-report
job_name: ${{ env.PWTEST_BOT_NAME }}