mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 13:50:25 +03:00
devops: post merged test results comment as GitHub Status Check (#23409)
This commit is contained in:
parent
2c700b71ff
commit
40581ed906
32
.github/workflows/tests_primary.yml
vendored
32
.github/workflows/tests_primary.yml
vendored
@ -120,6 +120,22 @@ jobs:
|
||||
});
|
||||
core.info('Posted comment: ' + response.html_url);
|
||||
|
||||
const { owner, repo } = context.repo;
|
||||
|
||||
const check = await github.rest.checks.create({
|
||||
owner,
|
||||
repo,
|
||||
name: 'Primary Tests',
|
||||
head_sha: context.sha,
|
||||
status: 'completed',
|
||||
conclusion: 'success',
|
||||
details_url: reportUrl,
|
||||
output: {
|
||||
title: 'Merged Primary test results',
|
||||
summary: 'Primary test results: ' + reportUrl,
|
||||
}
|
||||
});
|
||||
|
||||
test_linux_chromium_tot:
|
||||
name: ${{ matrix.os }} (chromium tip-of-tree)
|
||||
strategy:
|
||||
@ -249,6 +265,22 @@ jobs:
|
||||
});
|
||||
core.info('Posted comment: ' + response.html_url);
|
||||
|
||||
const { owner, repo } = context.repo;
|
||||
|
||||
const check = await github.rest.checks.create({
|
||||
owner,
|
||||
repo,
|
||||
name: 'Test Runner Tests',
|
||||
head_sha: context.sha,
|
||||
status: 'completed',
|
||||
conclusion: 'success',
|
||||
details_url: reportUrl,
|
||||
output: {
|
||||
title: 'Merged Test Runner Results',
|
||||
summary: 'Test Runner test results: ' + reportUrl,
|
||||
}
|
||||
});
|
||||
|
||||
test_web_components:
|
||||
name: Web Components
|
||||
runs-on: ubuntu-latest
|
||||
|
16
.github/workflows/tests_secondary.yml
vendored
16
.github/workflows/tests_secondary.yml
vendored
@ -267,6 +267,22 @@ jobs:
|
||||
});
|
||||
core.info('Posted comment: ' + response.html_url);
|
||||
|
||||
const { owner, repo } = context.repo;
|
||||
|
||||
const check = await github.rest.checks.create({
|
||||
owner,
|
||||
repo,
|
||||
name: 'Tracing Tests',
|
||||
head_sha: context.sha,
|
||||
status: 'completed',
|
||||
conclusion: 'success',
|
||||
details_url: reportUrl,
|
||||
output: {
|
||||
title: 'Merged Tracing test results',
|
||||
summary: 'Tracing test results: ' + reportUrl,
|
||||
}
|
||||
});
|
||||
|
||||
chrome_stable_linux:
|
||||
name: "Chrome Stable (Linux)"
|
||||
runs-on: ubuntu-20.04
|
||||
|
Loading…
Reference in New Issue
Block a user