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

24 lines
569 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
@@ -329,7 +329,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-04-08 15:34:39 +05:30
gem 'pry-byebug', '~> 3.5','>= 3.5.1', platform: :mri
2020-03-12 18:50:15 +05:30
gem 'pry-rails', '~> 0.3.9'
2020-02-28 12:49:51 +05:30
2020-04-22 19:44:27 +05:30
@@ -360,9 +360,6 @@
2020-03-12 18:50:15 +05:30
gem 'png_quantizator', '~> 0.2.1', require: false
2020-03-12 18:50:15 +05:30
gem 'parallel', '~> 1.19', require: false
-end
-
-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'