Skip to content

Commit

Permalink
ui console: use :mark progress with verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 25, 2023
1 parent e0b5c18 commit e0d5aa2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/test/unit/ui/console/testrunner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,14 @@ def guess_color_availability
end

def guess_progress_style
if ENV["GITHUB_ACTIONS"] == "true"
:fault_only
if @output_level >= VERBOSE
:mark
else
:inplace
if ENV["GITHUB_ACTIONS"] == "true"
:fault_only
else
:inplace
end
end
end

Expand Down

0 comments on commit e0d5aa2

Please sign in to comment.