Skip to content

Commit

Permalink
Allow disabling spec profiling via ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-contreras authored and oliverguenther committed Aug 8, 2024
1 parent fb2bca5 commit 2ea4120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rspec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
# end of the spec run, to help surface which specs are running
# particularly slow.
# Disabled on CI to have a cleaner log output.
config.profile_examples = 10 unless ENV["CI"]
config.profile_examples = 10 unless ENV["CI"] || ENV["NO_PROFILE_EXAMPLES"]

# Run specs in random order to surface order dependencies. If you find an
# order dependency and want to debug it, you can fix the order by providing
Expand Down

0 comments on commit 2ea4120

Please sign in to comment.