Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Ruby 3.0 Support & CI Actions improvement #124

Merged
merged 4 commits into from
Jan 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,21 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby:
- 2.4
- 2.5
- 2.6
- 2.7
- 3.0
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Install dependencies
run: bundle install
ruby-version: ${{ matrix.ruby }}
# Runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Run tests
run: bundle exec rake
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ rvm:
- 2.5
- 2.6
- 2.7
- 3.0
- jruby
- jruby-9.2
2 changes: 1 addition & 1 deletion codecov.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/codecov/codecov-ruby'
s.license = 'MIT'
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '~> 2.4'
s.required_ruby_version = '>= 2.4', '< 4'
s.version = ::Codecov::VERSION

s.add_dependency 'simplecov', '>= 0.15', '< 0.21'
Expand Down