Skip to content

Commit

Permalink
CI: Use bundle exe to run each test files in order to solve CI error (
Browse files Browse the repository at this point in the history
#924)

Since Ruby-HEAD fails to load some gems, this patch gives `bundle exe` so that gems are loaded via bundler.
  • Loading branch information
Watson1978 committed May 21, 2024
1 parent efe3cc9 commit 69b35ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ task :test_all => [:clean, :compile] do
exitcode = 0
status = 0

cmds = 'ruby test/tests.rb -v && ruby test/tests_mimic.rb -v && ruby test/tests_mimic_addition.rb -v'
cmds = 'bundle exec ruby test/tests.rb -v && bundle exec ruby test/tests_mimic.rb -v && bundle exec ruby test/tests_mimic_addition.rb -v'

$stdout.syswrite "\n#{'#'*90}\n#{cmds}\n"
Bundler.with_original_env do
Expand Down

0 comments on commit 69b35ab

Please sign in to comment.