summaryrefslogtreecommitdiff
path: root/.github/workflows/jruby.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/jruby.yml')
-rw-r--r--.github/workflows/jruby.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/jruby.yml b/.github/workflows/jruby.yml
new file mode 100644
index 0000000..8ff2fb1
--- /dev/null
+++ b/.github/workflows/jruby.yml
@@ -0,0 +1,28 @@
+name: JRuby
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ test:
+ runs-on: ${{ matrix.os }}-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu, macos]
+ jruby: [jruby, jruby-head]
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.jruby }}
+ bundler-cache: true
+ env:
+ JRUBY_OPTS: --debug
+ - name: Run tests
+ env:
+ JRUBY_OPTS: --debug
+ run: bundle exec rake