Skip to content

Commit 3ee1de6

Browse files
committed
Extract jruby
1 parent d0ccc4e commit 3ee1de6

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export JRUBY_OPTS="--debug"

.github/workflows/jruby.yml

+37
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

.github/workflows/rspec.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
ruby: ["3.1", "3.2", "3.3", "3.4", "jruby-9.4", "jruby-head"]
21+
ruby: ["3.1", "3.2", "3.3", "3.4"]
2222

2323
steps:
2424
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)