Skip to content

Commit

Permalink
ui console: use --progress-style=fault-only with non-tty output
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 10, 2023
1 parent 8b2b3d9 commit c89bf7c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/test/unit/ui/console/testrunner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,9 @@ def guess_progress_style
if @output_level >= VERBOSE
:mark
else
if ENV["GITHUB_ACTIONS"] == "true"
:fault_only
else
:inplace
end
return :fault_only if ENV["GITHUB_ACTIONS"] == "true"
return :fault_only unless @output.tty?
:inplace
end
end

Expand Down

0 comments on commit c89bf7c

Please sign in to comment.