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

24 lines
698 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-10-01 04:34:20 +05:30
@@ -333,7 +333,7 @@
gem 'webrick', '~> 1.6','>= 1.6.1', require: false
gem 'prometheus-client-mmap', '~> 0.12.0', require: 'prometheus/client'
2017-08-20 00:17:22 +05:30
-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-06-09 22:52:32 +05:30
gem 'pry-byebug'
2021-10-01 04:34:20 +05:30
@@ -371,9 +371,7 @@
2020-07-29 00:16:15 +05:30
gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
2021-04-30 00:10:56 +05:30
gem 'test_file_finder', '~> 0.1.3'
-end
2021-04-30 00:10:56 +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-06-09 22:52:32 +05:30
gem 'rspec_profiling', '~> 0.0.6'