Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Disable rspec examples profiling on CI to have more legible output

Christophe Bliardfefc6ac43d06
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f263f9929a6..63c7d536018 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -109,7 +109,8 @@ RSpec.configure do |config|
# Print the 10 slowest examples and example groups at the
# end of the spec run, to help surface which specs are running
# particularly slow.
- config.profile_examples = 10
+ # Disabled on CI to have a cleaner log output.
+ config.profile_examples = 10 unless ENV['CI']
# 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