Skip to content

Commit

Permalink
Add TruffleRuby and JRuby nightly tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfication committed Jan 9, 2024
1 parent c5be6cd commit d44eb50
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/jruby-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: JRuby Nightly

on: push
# on:
# schedule:
# # Checks daily
# - cron: '0 0 * * *'

jobs:
TestsOnNightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rm Gemfile.lock
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby-head
bundler-cache: true
- run: bundle exec rspec
19 changes: 19 additions & 0 deletions .github/workflows/truffleruby-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: TruffleRuby Nightly

on: push
# on:
# schedule:
# # Checks daily
# - cron: '0 0 * * *'

jobs:
TestsOnNightly:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rm Gemfile.lock
- uses: ruby/setup-ruby@v1
with:
ruby-version: truffleruby-head
bundler-cache: true
- run: bundle exec rspec
11 changes: 8 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@ gemspec

gem "byebug"
gem "prettier"
gem "pry"
gem "pry-byebug"
gem "rake"
gem "rspec"
gem "rubocop"
gem "rubocop-rake"
gem "rubocop-rspec"
gem "simplecov"
gem "solargraph"

gem "racc" # Needed for JRuby, see https://github.com/jruby/jruby/issues/6581

Check warning on line 14 in Gemfile

View workflow job for this annotation

GitHub Actions / Spellcheck

Unknown word (racc)

platforms :ruby, :mingw do
gem "pry"
gem "pry-byebug"
gem "solargraph"
end
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,16 @@ GEM

PLATFORMS
arm64-darwin-21
java
ruby
unknown

DEPENDENCIES
byebug
prettier
pry
pry-byebug
racc
rake
rspec
rspec-graphql-integration!
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
<a href="https://github.com/peterfication/rspec-graphql-integration/actions/workflows/ruby-nightly.yml">
<img alt="CI" src="https://github.com/peterfication/rspec-graphql-integration/actions/workflows/ruby-nightly.yml/badge.svg" \>
</a>
<a href="https://github.com/peterfication/rspec-graphql-integration/actions/workflows/truffleruby-nightly.yml">
<img alt="CI" src="https://github.com/peterfication/rspec-graphql-integration/actions/workflows/truffleruby-nightly.yml/badge.svg" \>
</a>
<a href="https://github.com/peterfication/rspec-graphql-integration/actions/workflows/jruby-nightly.yml">
<img alt="CI" src="https://github.com/peterfication/rspec-graphql-integration/actions/workflows/jruby-nightly.yml/badge.svg" \>
</a>
</p>

<p align="center">
Expand Down

0 comments on commit d44eb50

Please sign in to comment.