Skip to content

Commit fa452a4

Browse files
committed
Run isolated specs on the oldest CRuby too
1 parent 9b15038 commit fa452a4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,17 @@ jobs:
3333
isolated:
3434
name: "Test isolated"
3535
runs-on: ubuntu-latest
36+
strategy:
37+
fail-fast: false
38+
matrix:
39+
ruby: [ 2.3, 3.2 ] # oldest and latest CRuby
3640
env:
3741
RUBYOPT: '-w'
3842
steps:
3943
- uses: actions/checkout@v3
4044
- uses: ruby/setup-ruby@v1
4145
with:
42-
ruby-version: 3.2
46+
ruby-version: ${{ matrix.ruby }}
4347
bundler-cache: true
4448
- run: bundle exec rake compile
4549
- run: bundle exec rake spec:isolated

lib/concurrent-ruby/concurrent/atomic/locals.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
require 'fiber'
12
require 'concurrent/utility/engine'
23
require 'concurrent/constants'
34

4-
require 'fiber'
5-
65
module Concurrent
76
# @!visibility private
87
# @!macro internal_implementation_note

0 commit comments

Comments
 (0)