Skip to content

Commit

Permalink
Add Ruby 3.1 and 3.2 to the CI matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
petergoldstein committed Mar 14, 2023
1 parent 9b1c2a5 commit 825739b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
34 changes: 33 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"

include:
- rails: "4.2"
Expand All @@ -39,18 +41,48 @@ jobs:
- rails: "4.2"
ruby: "3.0"

- rails: "4.2"
ruby: "3.1"

- rails: "4.2"
ruby: "3.2"

- rails: "5.0"
ruby: "3.0"

- rails: "5.0"
ruby: "3.1"

- rails: "5.0"
ruby: "3.2"

- rails: "5.1"
ruby: "3.0"

- rails: "5.1"
ruby: "3.1"

- rails: "5.1"
ruby: "3.2"

- rails: "5.2"
ruby: "3.0"

- rails: "5.2"
ruby: "3.1"

- rails: "5.2"
ruby: "3.2"

- rails: "6.0"
ruby: "2.4"

- rails: "6.0"
ruby: "3.1"

- rails: "6.0"
ruby: "3.2"

- rails: "6.1"
ruby: "2.4"

Expand All @@ -67,7 +99,7 @@ jobs:
BUNDLE_GEMFILE: ${{ github.workspace }}/spec/gemfiles/Gemfile.rails-${{ matrix.rails }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install ruby
uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion spec/axlsx_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
describe 'Caxlsx request', :type => :request do

after(:each) do
if File.exists? '/tmp/caxlsx_temp.xlsx'
if File.exist? '/tmp/caxlsx_temp.xlsx'
File.unlink '/tmp/caxlsx_temp.xlsx'
end
end
Expand Down

0 comments on commit 825739b

Please sign in to comment.