@@ -404,7 +404,7 @@ func (r *DefaultReporter) emitTimeline(indent uint, report types.SpecReport, tim
404
404
case types.ReportEntry :
405
405
r .emitReportEntry (indent , x )
406
406
case types.ProgressReport :
407
- r .emitProgressReport (indent , false , x )
407
+ r .emitProgressReport (indent , false , false , x )
408
408
case types.SpecEvent :
409
409
if isVeryVerbose || ! x .IsOnlyVisibleAtVeryVerbose () || r .conf .ShowNodeEvents {
410
410
r .emitSpecEvent (indent , x , isVeryVerbose )
@@ -458,7 +458,7 @@ func (r *DefaultReporter) emitFailure(indent uint, state types.SpecState, failur
458
458
459
459
if ! failure .ProgressReport .IsZero () {
460
460
r .emitBlock ("\n " )
461
- r .emitProgressReport (indent , false , failure .ProgressReport )
461
+ r .emitProgressReport (indent , false , false , failure .ProgressReport )
462
462
}
463
463
464
464
if failure .AdditionalFailure != nil && includeAdditionalFailure {
@@ -474,11 +474,11 @@ func (r *DefaultReporter) EmitProgressReport(report types.ProgressReport) {
474
474
r .emit (r .fi (1 , "{{coral}}Progress Report for Ginkgo Process #{{bold}}%d{{/}}\n " , report .ParallelProcess ))
475
475
}
476
476
shouldEmitGW := report .RunningInParallel || r .conf .Verbosity ().LT (types .VerbosityLevelVerbose )
477
- r .emitProgressReport (1 , shouldEmitGW , report )
477
+ r .emitProgressReport (1 , shouldEmitGW , true , report )
478
478
r .emitDelimiter (1 )
479
479
}
480
480
481
- func (r * DefaultReporter ) emitProgressReport (indent uint , emitGinkgoWriterOutput bool , report types.ProgressReport ) {
481
+ func (r * DefaultReporter ) emitProgressReport (indent uint , emitGinkgoWriterOutput , emitGroup bool , report types.ProgressReport ) {
482
482
if report .Message != "" {
483
483
r .emitBlock (r .fi (indent , report .Message + "\n " ))
484
484
indent += 1
@@ -514,7 +514,7 @@ func (r *DefaultReporter) emitProgressReport(indent uint, emitGinkgoWriterOutput
514
514
indent -= 1
515
515
}
516
516
517
- if r .conf .GithubOutput {
517
+ if r .conf .GithubOutput && emitGroup {
518
518
r .emitBlock (r .fi (indent , "::group::Progress Report" ))
519
519
}
520
520
@@ -565,7 +565,7 @@ func (r *DefaultReporter) emitProgressReport(indent uint, emitGinkgoWriterOutput
565
565
r .emitGoroutines (indent , otherGoroutines ... )
566
566
}
567
567
568
- if r .conf .GithubOutput {
568
+ if r .conf .GithubOutput && emitGroup {
569
569
r .emitBlock (r .fi (indent , "::endgroup::" ))
570
570
}
571
571
}
0 commit comments