Skip to content

Commit

Permalink
Test against Ruby 3.4.0-preview2
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny committed Nov 22, 2024
1 parent 2207c4f commit 35b9d55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Test

on: [push, pull_request]

env:
RUBYOPT: --enable=frozen-string-literal --debug=frozen-string-literal

jobs:
test:
name: on ruby ${{matrix.ruby}}
Expand All @@ -10,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', head]
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "ruby-3.4.0-preview2", head]

steps:
- name: Checkout repository
Expand All @@ -25,4 +28,4 @@ jobs:
run: bundle install --jobs 4 --retry 3

- name: RSpec
run: bin/rake spec
run: bin/rspec
2 changes: 1 addition & 1 deletion spec/actor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ def match_result(result)
context "when disallowing nil on an output" do
context "when set correctly" do
it "succeeds" do
expect(DisallowNilOnOutput.value).to be "Jim"
expect(DisallowNilOnOutput.value).to eq("Jim")
end
end

Expand Down

0 comments on commit 35b9d55

Please sign in to comment.