Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Drop EOL Ruby 2.5, EOL Rails 5.2, add Ruby 3.2 #424

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 7 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ jobs:
steps:
- checkout:
path: ~/sitemap_generator
- run:
name: Install sqlite3 when on Ruby 2.5
command: |
if [[ "$RUBY_VERSION" =~ 2\.5 ]]; then
sudo apt-get update && sudo apt-get install -y sqlite3 libsqlite3-dev
fi
- run:
name: Install Rails dependencies
environment:
Expand All @@ -63,26 +57,22 @@ workflows:
# See https://circleci.com/blog/circleci-matrix-jobs/
matrix:
parameters:
ruby-version: ["3.1", "3.0", "2.7", "2.5"]
ruby-version: ["3.2", "3.1", "3.0", "2.7"]
name: gem-test-ruby-<< matrix.ruby-version >>
- integration-test:
# See https://circleci.com/blog/circleci-matrix-jobs/
# See https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html for Ruby and Rails compatibility
matrix:
parameters:
ruby-version: ["3.1", "3.0", "2.7", "2.5"]
rails-version: ["5_2", "6_0", "6_1", "7_0"]
ruby-version: ["3.2", "3.1", "3.0", "2.7"]
rails-version: ["6_0", "6_1", "7_0"]
exclude:
- ruby-version: "2.5"
rails-version: "7_0"
- ruby-version: "2.7"
rails-version: "5_2"
- ruby-version: "3.0"
rails-version: "5_2"
- ruby-version: "3.0"
rails-version: "6_0"
- ruby-version: "3.1"
rails-version: "5_2"
- ruby-version: "3.1"
rails-version: "6_0"
- ruby-version: "3.2"
rails-version: "6_0"
- ruby-version: "3.2"
rails-version: "6_0"
name: integration-test-ruby-<< matrix.ruby-version >>-rails-<< matrix.rails-version >>