Skip to content

Commit 05e25b7

Browse files
committed
Fix workflows
1 parent 574b45c commit 05e25b7

File tree

2 files changed

+32
-25
lines changed

2 files changed

+32
-25
lines changed

.github/workflows/stable.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,30 @@ name: stable
33
on: [push, pull_request]
44

55
jobs:
6-
test:
6+
tests:
77
runs-on: ubuntu-latest
8-
9-
strategy:
10-
matrix:
11-
ruby: [2.7, '3.0', 3.1, 3.2, ruby-head, jruby-9.4]
12-
138
env:
149
BUNDLE_WITHOUT: "benchmark"
1510
JRUBY_OPTS: "--debug"
11+
strategy:
12+
fail-fast: false
13+
14+
matrix:
15+
ruby-version:
16+
- '2.7'
17+
- '3.0'
18+
- '3.1'
19+
- '3.2'
20+
- '3.3'
21+
- jruby-9.4
1622

1723
steps:
1824
- uses: actions/checkout@v4
1925

20-
- name: Setup ruby
21-
uses: ruby/setup-ruby@v1
26+
- uses: ruby/setup-ruby@v1
2227
with:
23-
ruby-version: ${{ matrix.ruby }}
24-
rubygems: latest
25-
bundler-cache: true # 'bundle install' and cache
28+
ruby-version: ${{ matrix.ruby-version }}
29+
bundler-cache: true
2630

27-
- name: Run tests
28-
run: bundle exec rake
31+
- run: |
32+
bundle exec rake

.github/workflows/unstable.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,28 @@ on:
55
- cron: '0 0 * * *'
66

77
jobs:
8-
test:
8+
tests:
99
runs-on: ubuntu-latest
10-
11-
strategy:
12-
matrix:
13-
ruby: [ruby-head, jruby-head]
14-
1510
env:
1611
BUNDLE_WITHOUT: "benchmark"
1712
JRUBY_OPTS: "--debug"
13+
strategy:
14+
fail-fast: false
15+
16+
matrix:
17+
ruby-version:
18+
- ruby-head
19+
- jruby-head
1820

1921
steps:
2022
- uses: actions/checkout@v4
2123

22-
- name: Setup ruby
23-
uses: ruby/setup-ruby@v1
24+
- uses: ruby/setup-ruby@v1
2425
with:
25-
ruby-version: ${{ matrix.ruby }}
26-
bundler-cache: true # 'bundle install' and cache
26+
ruby-version: ${{ matrix.ruby-version }}
27+
bundler-cache: true
28+
continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}
2729

28-
- name: Run tests
29-
run: bundle exec rake
30+
- run: |
31+
bundle exec rake
32+
continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}

0 commit comments

Comments
 (0)