Skip to content

Commit

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

* Add test-unit gem

* Add bigdecimal as dependency gem
  • Loading branch information
Watson1978 authored Jun 1, 2024
1 parent 0a0e652 commit 40dc00e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ gemspec
group :development do
gem 'rake-compiler', '>= 1.2', '< 2.0'
gem 'rubocop', '~> 1.47', require: false
gem 'test-unit', '~> 3.0'
end
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task test_all: [:clean, :compile] do
exitcode = 0
status = 0

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

$stdout.syswrite "\n#{'#' * 90}\n#{cmds}\n"
Bundler.with_original_env do
Expand Down
2 changes: 2 additions & 0 deletions ox.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ serialization. }
s.required_ruby_version = '>= 2.7.0'

s.metadata['rubygems_mfa_required'] = 'true'

s.add_runtime_dependency 'bigdecimal', '>= 3.0'
end

0 comments on commit 40dc00e

Please sign in to comment.