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

24 lines
692 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
2021-03-11 21:09:22 +05:30
@@ -337,7 +337,7 @@
gem 'raindrops', '~> 0.18'
2017-08-20 00:17:22 +05:30
end
-group :development, :test do
+if ENV["INCLUDE_TEST_DEPENDS"] == "true"
2021-03-08 22:12:33 +05:30
gem 'deprecation_toolkit', '~> 1.5', '>= 1.5.1', require: false
2021-03-11 21:09:22 +05:30
gem 'bullet', '~> 6.1', '>= 6.1.3'
2021-03-08 22:12:33 +05:30
gem 'gitlab-pry-byebug', platform: :mri, require: ['pry-byebug', 'pry-byebug/pry_remote_ext']
2021-03-11 21:09:22 +05:30
@@ -373,9 +373,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'
2021-01-29 14:51:13 +05:30
gem 'rspec_profiling', '~> 0.0.6'