Do not load library files from repository only for test

What we want to test should be the bundled and to be installed files,
but not the upstream.
This commit is contained in:
Nobuyoshi Nakada authored and GitHub committed 2022-07-27 17:36:45 +09:00
1 parent 8154b176de
commit 464f73a5f0
1 file changed
+1 -1
Notes: git 2022-07-27 17:37:15 +09:00
+1 -1
View File
@@ -24,7 +24,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
next if ARGV.any? {|pat| !File.fnmatch?(pat, gem)}
puts "#{github_actions ? "##[group]" : "\n"}Testing the #{gem} gem"
test_command = "#{ruby} -C #{gem_dir}/src/#{gem} -Ilib #{rake} test"
test_command = "#{ruby} -C #{gem_dir}/src/#{gem} #{rake} test"
first_timeout = 600 # 10min
toplib = gem