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);
|
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:
|
test_linux_chromium_tot:
|
||||||
name: ${{ matrix.os }} (chromium tip-of-tree)
|
name: ${{ matrix.os }} (chromium tip-of-tree)
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -249,6 +265,22 @@ jobs:
|
||||||
});
|
});
|
||||||
core.info('Posted comment: ' + response.html_url);
|
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:
|
test_web_components:
|
||||||
name: Web Components
|
name: Web Components
|
||||||
runs-on: ubuntu-latest
|
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);
|
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:
|
chrome_stable_linux:
|
||||||
name: "Chrome Stable (Linux)"
|
name: "Chrome Stable (Linux)"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue