Skip to content

Commit dc69067

Browse files
committed
Add GitHub Action for RSpec on JRuby
1 parent d15c3b1 commit dc69067

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/jruby.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: RSpec on JRuby
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
schedule:
11+
- cron: "0 21 * * 6"
12+
13+
env:
14+
JRUBY_OPTS: "--debug"
15+
16+
jobs:
17+
rspec:
18+
runs-on: ubuntu-24.04
19+
timeout-minutes: 10
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
ruby: ["jruby-9.4", "jruby-head"]
24+
25+
steps:
26+
- uses: actions/checkout@v4
27+
- run: rm -f Gemfile.lock
28+
- run: rm -f .ruby-version
29+
- name: Set up Ruby
30+
uses: ruby/setup-ruby@v1
31+
with:
32+
ruby-version: ${{ matrix.ruby }}
33+
rubygems: latest
34+
bundler: latest
35+
bundler-cache: true
36+
37+
- run: bundle exec rspec

0 commit comments

Comments
 (0)