Skip to content
Open
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
18 changes: 14 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1']
include:
- ruby: '2.5'
bundler: '2.3.27'
- ruby: '2.6'
bundler: '2.3.27'
- ruby: '2.7'
bundler: '2.3.27'
- ruby: '3.0'
bundler: '2.3.27'
- ruby: '3.1'
bundler: '2.4.22'
name: "ruby ${{ matrix.ruby }}"
steps:
- uses: actions/checkout@v1
Expand All @@ -16,7 +26,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
gem install bundler
gem install bundler -v ${{ matrix.bundler }}
bundle install
- name: Run Test with rspec
run: bundle exec rspec spec
Expand All @@ -30,7 +40,7 @@ jobs:
ruby-version: 2.7
- name: Install dependencies
run: |
gem install bundler
gem install bundler -v 2.3.27
bundle install
- name: Build and test
run: |
Expand All @@ -50,7 +60,7 @@ jobs:
./cc-test-reporter before-build
- name: Build and test with RSpec
run: |
gem install bundler
gem install bundler -v 2.3.27
bundle install
bundle exec rspec
- name: Publish code coverage
Expand Down