GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Show Playwright test results on the CI run summary via JUnit output. … · Gherkin/HTMLPCBViewer@39e1abd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yml
  • playwright.config.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,22 @@ jobs:
117117
env:
118118
PERF_WALLCLOCK_OUT: perf/wall-clock.json
119119

120+
# Test table on the run summary page (#29). annotate_only writes
121+
# annotations and the job summary without creating a check run, so it
122+
# needs no checks: write and also works on PRs from forks.
123+
- name: Test summary
124+
if: always()
125+
uses: mikepenz/action-junit-report@a9170d5795813c01ab4901ffb045b52bab4ab09d # v6.5.0
126+
with:
127+
report_paths: test-results/junit.xml
128+
check_name: Browser tests
129+
annotate_only: true
130+
require_tests: true
131+
include_passed: true
132+
detailed_summary: true
133+
group_suite: true
134+
include_time_in_summary: true
135+
120136
- uses: actions/upload-artifact@v7
121137
if: always()
122138
with:
Collapse file

‎playwright.config.js‎

Copy file name to clipboardExpand all lines: playwright.config.js
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ module.exports = defineConfig({
1111
forbidOnly: !!process.env.CI,
1212
retries: process.env.CI ? 1 : 0,
1313
workers: process.env.CI ? 2 : undefined,
14-
reporter: process.env.CI ? [['html'], ['list']] : 'list',
14+
// junit.xml feeds the test table on the CI run summary (#29).
15+
reporter: process.env.CI
16+
? [['html'], ['list'], ['junit', { outputFile: 'test-results/junit.xml' }]]
17+
: 'list',
1518

1619
use: {
1720
trace: 'on-first-retry',

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.