Skip to content

Commit ac8efae

Browse files
committed
Update continuous integration and experimental ruby builds
1 parent ac1da92 commit ac8efae

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,26 @@ on:
99

1010
workflow_dispatch:
1111

12+
# Supported platforms / Ruby versions:
13+
# - Ubuntu: MRI (3.1, 3.2, 3.3), TruffleRuby (24), JRuby (9.4)
14+
# - Windows: MRI (3.1), JRuby (9.4)
15+
1216
jobs:
1317
build:
1418
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
1519
runs-on: ${{ matrix.operating-system }}
1620
continue-on-error: true
1721

1822
strategy:
23+
fail-fast: false
1924
matrix:
20-
ruby: ["3.1", "3.2", "3.3"]
25+
ruby: ["3.1", "3.2", "3.3", "jruby-9.4", "truffleruby-24"]
2126
operating-system: [ubuntu-latest]
2227
include:
2328
- ruby: "3.1"
2429
operating-system: windows-latest
30+
- ruby: "jruby-9.4"
31+
operating-system: windows-latest
2532

2633
steps:
2734
- name: Checkout
@@ -52,12 +59,10 @@ jobs:
5259
ruby-version: 3.1
5360
bundler-cache: true
5461

55-
- name: Run tests
56-
run: bundle exec rake spec
57-
5862
- name: Report test coverage
5963
uses: paambaati/codeclimate-action@v9
6064
env:
6165
CC_TEST_REPORTER_ID: ddf1b66251c781daaf3d2b44371e7040ce4a60126bc0c270855f8bee2c58d6d1
6266
with:
63-
coverageLocations: ${{github.workspace}}/coverage/lcov/*.lcov:lcov
67+
coverageCommand: bundle exec rake spec
68+
coverageLocations: ${{github.workspace}}/coverage/lcov/*.lcov:lcov

.github/workflows/experimental_ruby_builds.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66

77
workflow_dispatch:
88

9+
# Experimental platforms / Ruby versions:
10+
# - Ubuntu: MRI (head), TruffleRuby (head), JRuby (head)
11+
# - Windows: MRI (head), JRuby (head)
12+
913
jobs:
1014
build:
1115
name: Ruby ${{ matrix.ruby }} on ${{ matrix.operating-system }}
@@ -18,6 +22,14 @@ jobs:
1822
include:
1923
- ruby: head
2024
operating-system: ubuntu-latest
25+
- ruby: head
26+
operating-system: windows-latest
27+
- ruby: truffleruby-head
28+
operating-system: ubuntu-latest
29+
- ruby: jruby-head
30+
operating-system: ubuntu-latest
31+
- ruby: jruby-head
32+
operating-system: windows-latest
2133

2234
steps:
2335
- name: Checkout

simplecov-rspec.gemspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Gem::Specification.new do |spec|
3636
spec.bindir = 'exe'
3737
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
3838
spec.require_paths = ['lib']
39+
spec.requirements = [
40+
'Platform: Mac, Linux, or Windows',
41+
'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
42+
]
3943

4044
spec.add_dependency 'simplecov', '~> 0.22'
4145

0 commit comments

Comments
 (0)