Skip to content

Commit

Permalink
Test with Ruby 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed Mar 11, 2024
1 parent 4db11f3 commit 6b4cf7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.5.3', '2.6.1']
ruby-version: ['3.1.4', '3.2.3', '3.3.0']
services:
mysql:
image: mysql:5.6
Expand Down Expand Up @@ -61,3 +61,8 @@ jobs:
run: |
sed -i '/^--tag/d' .rspec
bundle exec rspec
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions nose.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Gem::Specification.new do |s|
# Required for MongoDB backend
s.add_dependency 'mongo', '>= 2.14', '< 2.20'

s.add_development_dependency 'codecov', '~> 0.4.3'
s.add_development_dependency 'fakefs', '~> 1.3.2'
s.add_development_dependency 'memory_profiler', '~> 1.0.0'
s.add_development_dependency 'pry-byebug', '~> 3.9.0'
Expand All @@ -47,7 +46,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec-core', '~> 3.10.0'
s.add_development_dependency 'rspec-collection_matchers', '~> 1.2.0', '>= 1.1.0'
s.add_development_dependency 'ruby-prof', '~> 1.4.2'
s.add_development_dependency 'simplecov', '~> 0.21.2'
s.add_development_dependency 'simplecov', '~> 0.22.0'
s.add_development_dependency 'yard', '~> 0.9.4'

# Below for MRI only (TODO JRuby gemspec)
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
require 'simplecov'
SimpleCov.start

require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov

require 'rspec/collection_matchers'
Expand Down

0 comments on commit 6b4cf7b

Please sign in to comment.