-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for ruby 3.0.x - fixes #27
- Loading branch information
Arnaud Lachaume
committed
May 31, 2021
1 parent
092885e
commit 7a0be4b
Showing
28 changed files
with
297 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Ruby 2.x | ||
|
||
on: | ||
push: | ||
branches: [ master, 0.9-stable ] | ||
pull_request: | ||
branches: [ master, 0.9-stable ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby: | ||
- '2.5.9' | ||
- '2.6.7' | ||
- '2.7.3' | ||
appraisal: | ||
- 'google-cloud-tasks-1.0' | ||
- 'google-cloud-tasks-1.1' | ||
- 'google-cloud-tasks-1.2' | ||
- 'google-cloud-tasks-1.3' | ||
- 'rails-5.2' | ||
- 'rails-6.0' | ||
- 'rails-6.1' | ||
- 'semantic_logger-3.4' | ||
- 'semantic_logger-4.6' | ||
- 'semantic_logger-4.7.0' | ||
- 'semantic_logger-4.7.2' | ||
steps: | ||
- name: Setup System | ||
run: sudo apt-get install libsqlite3-dev | ||
- uses: actions/checkout@v2 | ||
- uses: zhulik/[email protected] | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- name: Build and test with Rake | ||
env: | ||
APPRAISAL_CONTEXT: ${{ matrix.appraisal }} | ||
run: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
bundle exec rubocop | ||
bundle exec appraisal ${APPRAISAL_CONTEXT} bundle | ||
bundle exec appraisal ${APPRAISAL_CONTEXT} rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Test | ||
name: Ruby 3.x | ||
|
||
on: | ||
push: | ||
|
@@ -12,15 +12,13 @@ jobs: | |
strategy: | ||
matrix: | ||
ruby: | ||
- '2.5.x' | ||
- '2.6.x' | ||
- '3.0.1' | ||
appraisal: | ||
- 'google-cloud-tasks-1.0' | ||
- 'google-cloud-tasks-1.1' | ||
- 'google-cloud-tasks-1.2' | ||
- 'google-cloud-tasks-1.3' | ||
- 'rails-5.2' | ||
- 'rails-6.0' | ||
- 'rails-6.1' | ||
- 'semantic_logger-3.4' | ||
- 'semantic_logger-4.6' | ||
- 'semantic_logger-4.7.0' | ||
|
@@ -30,10 +28,11 @@ jobs: | |
run: sudo apt-get install libsqlite3-dev | ||
- uses: actions/checkout@v2 | ||
- uses: zhulik/[email protected] | ||
- name: Set up Ruby 2.6 | ||
uses: actions/setup-ruby@v1 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- name: Build and test with Rake | ||
env: | ||
APPRAISAL_CONTEXT: ${{ matrix.appraisal }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ruby-2.5.5 | ||
ruby-3.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.