-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for JRuby 9.2 or later #271
Merged
Merged
Changes from 12 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3b9500d
Fix code to avoid warning: '-' after local variable or literal is int…
azumakuniyuki 720d096
There are many workaround code to avoid failures on strptime() at JRu…
azumakuniyuki 882db00
Replace Array#append with Array#push because the method is availabe a…
azumakuniyuki b511035
Try to migrate from Travis to GitHub Actions
azumakuniyuki 81fa609
gem install minitest -v 5.15.0 at "rake test"
azumakuniyuki 6de453a
Try to action #3
azumakuniyuki f13c3ed
Try to avoid "Error installing oj: bigdecimal requires Ruby version >…
azumakuniyuki b8c4af6
oj is already installed at the previous line
azumakuniyuki f8e6d08
Does sisimai work on JRuby 9.0 and 9.1 ?
azumakuniyuki dbd479a
Sometimes the removed line fails only GitHub Actions ...????
azumakuniyuki 422eb06
Error: Unknown version 9.0 for jruby on ubuntu-22.04
azumakuniyuki 845b30e
Sisimai 5 does not work on JRuby 9.1, maybe
azumakuniyuki cae939f
Test on Ruby 2.4 and 3.3 only
azumakuniyuki 88ccb78
Use actions/checkout@v4 Thanks to @hiroyuki-sato at https://github.co…
azumakuniyuki c5a345b
Try to "rake privatetest" on CRuby only
azumakuniyuki 49030da
Skip if set-of-emails/private directory does not exist
azumakuniyuki 2b6aa9a
return nil if "set-of-emails/private" does not exist
azumakuniyuki f6fbe52
????
azumakuniyuki 69f48a9
Why mail-test-rb:135 returns "3" on GitHub Actions ?
azumakuniyuki 7bc1610
refute_empty r also fails on GitHub Actions only (?)
azumakuniyuki 45cc827
Run "rake privatetest" with JRuby
azumakuniyuki 5466b49
Test on JRuby 9.2 and 9.4: Removed 9.3
azumakuniyuki fb1200f
Update the README files (JRuby)
azumakuniyuki File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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,53 @@ | ||
name: rake test | ||
on: | ||
push: | ||
branches: ["5-stable"] | ||
pull_request: | ||
branches: ["5-stable"] | ||
jobs: | ||
test-cruby: | ||
name: rake test with CRuby ${{ matrix.cruby }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cruby: ["2.4", "2.7", "3.0", "3.3"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup CRuby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.cruby }} | ||
- run: gem install minitest -v 5.15.0 | ||
- run: gem install oj -v 3.10.0 | ||
- run: gem install bundle rake | ||
- name: Cache the dependent gems | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./cache | ||
key: ${{ runner.os }}-ruby-${{ matrix.cruby }}-${{ hashFiles('./gem.snapshot') }} | ||
- run: ruby -v | ||
- run: rake publictest | ||
test-jruby: | ||
name: rake test with JRuby ${{ matrix.jruby }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
jruby: ["jruby-9.2", "jruby-9.3", "jruby-9.4"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup JRuby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.jruby }} | ||
- run: gem install minitest -v 5.15.0 | ||
- run: gem install bundle rake jrjackson | ||
- name: Cache the dependent gems | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./cache | ||
key: ${{ runner.os }}-ruby-${{ matrix.jruby }}-${{ hashFiles('./gem.snapshot') }} | ||
- run: ruby -v | ||
- run: rake publictest | ||
|
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
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: You will find the deprecated message.
checkout@v4
available. You just need to change v2 -> v4https://github.com/actions/checkout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hiroyuki-sato Thanks for the review, I'll use v4 :-)