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 — tools: use @reporters/github when running in github actions · nodejs/node@3471758

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools
    • test.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/test.py‎

Copy file name to clipboardExpand all lines: tools/test.py
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,12 @@ def HasRun(self, output):
316316
sys.stdout.flush()
317317

318318
class ActionsAnnotationProgressIndicator(DotsProgressIndicator):
319+
def AboutToRun(self, case):
320+
if not hasattr(case, 'additional_flags'):
321+
case.additional_flags = []
322+
case.additional_flags.append('--test-reporter=./tools/github_reporter/index.js')
323+
case.additional_flags.append('--test-reporter-destination=stdout')
324+
319325
def GetAnnotationInfo(self, test, output):
320326
traceback = output.stdout + output.stderr
321327
find_full_path = re.search(r' +at .*\(.*%s:([0-9]+):([0-9]+)' % test.file, traceback)
@@ -601,7 +607,8 @@ def Run(self):
601607
result = self.RunCommand(self.GetCommand(), {
602608
"TEST_SERIAL_ID": "%d" % self.serial_id,
603609
"TEST_THREAD_ID": "%d" % self.thread_id,
604-
"TEST_PARALLEL" : "%d" % self.parallel
610+
"TEST_PARALLEL" : "%d" % self.parallel,
611+
"GITHUB_STEP_SUMMARY": "",
605612
})
606613
finally:
607614
# Tests can leave the tty in non-blocking mode. If the test runner

0 commit comments

Comments
0 (0)
You are visitor 01402503 — 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.