Skip to content

Commit

Permalink
Test with Ruby 3.3 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Dec 26, 2023
1 parent 6d3cba1 commit a18f3f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ jobs:
fail-fast: false
matrix:
include:
- ruby: 3.3
os: ubuntu-22.04
- ruby: 3.2
os: ubuntu-22.04
- ruby: 3.1
os: ubuntu-22.04
os: ubuntu-20.04
- ruby: "3.0"
os: ubuntu-20.04
env:
LIBTORCH_VERSION: 2.1.0
LIBTORCH_VERSION: 2.1.2
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion test/tensor_attributes_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_dtype_bad_complex
error = assert_raises(NoMethodError) do
Torch.tensor([true], dtype: :complex64)
end
assert_match "undefined method `real' for true:TrueClass", error.message
assert_match "undefined method `real' for true", error.message
end

def test_layout
Expand Down

0 comments on commit a18f3f5

Please sign in to comment.