Skip to content

Commit

Permalink
Merge pull request #274 from toy/update-github-workflow
Browse files Browse the repository at this point in the history
Update GitHub workflow
  • Loading branch information
ppeble authored May 19, 2024
2 parents a6f65e6 + 3f8b424 commit 6ed4cba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.4, 2.5, 2.6, 2.7, 3.0, 3.1, 3.2, 'ruby-head']
ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', 'ruby-head']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: make test
- name: Run validate
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ source 'https://rubygems.org'
gem 'rspec', '~> 3'
gem 'pry', :require => false
gem 'spoon', :require => false
gem 'simplecov-rcov', :require => false
gem 'simplecov', :require => false
2 changes: 0 additions & 2 deletions spec/coverage_report.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
require 'simplecov'
require 'simplecov-rcov'
SimpleCov.minimum_coverage 100
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.coverage_dir 'reports/coverage'
SimpleCov.start do
add_filter "/spec/"
Expand Down

0 comments on commit 6ed4cba

Please sign in to comment.