debian-mirror-gitlab/debian/patches/0110-make-test-dependencies-conditional.patch

24 lines
593 B
Diff
Raw Normal View History

2020-04-13 13:49:04 +05:30
Make test dependencies conditional so we can enable them when running autopkgtest
2017-08-20 00:17:22 +05:30
--- a/Gemfile
+++ b/Gemfile
2020-11-24 16:42:00 +05:30
@@ -332,7 +332,7 @@
gem 'raindrops', '~> 0.18'
2017-08-20 00:17:22 +05:30
end
-group :development, :test do
+if ENV["INCLUDE_TEST_DEPENDS"] == "true"
2020-11-24 16:42:00 +05:30
gem 'bullet', '~> 6.1'
gem 'pry-byebug', '~> 3.9', platform: :mri
2020-03-12 18:50:15 +05:30
gem 'pry-rails', '~> 0.3.9'
2020-11-24 16:42:00 +05:30
@@ -365,9 +365,7 @@
2020-03-12 18:50:15 +05:30
gem 'parallel', '~> 1.19', require: false
2020-07-29 00:16:15 +05:30
gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
-end
2020-07-29 00:16:15 +05:30
-group :test do
2020-02-24 20:28:28 +05:30
gem 'fuubar', '~> 2.2'
2020-01-01 14:36:02 +05:30
gem 'rspec-retry', '~> 0.6.1'
gem 'rspec_profiling', '~> 0.0.5'