Skip to content

Commit

Permalink
Add appraisal for Rails 7.2; bracket lowest PG version instead of enu…
Browse files Browse the repository at this point in the history
…merating all (#1460)
  • Loading branch information
bensheldon authored Aug 7, 2024
1 parent b0c9707 commit 4201534
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
DISABLE_SPRING: 1
services:
postgres:
image: postgres:15
image: postgres:16
env:
POSTGRES_USER: good_job
POSTGRES_DB: good_job_test
Expand Down Expand Up @@ -97,14 +97,7 @@ jobs:
include:
- ruby: 3.3
pg: 11
- ruby: 3.3
pg: 12
- ruby: 3.3
pg: 13
- ruby: 3.3
pg: 14
- ruby: 3.3
pg: 15

env:
PGHOST: localhost
PGUSER: good_job
Expand Down
6 changes: 6 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ if ruby_31_or_higher
gem "selenium-webdriver", "~> 4.0" # https://github.com/rails/rails/pull/43498
end

appraise "rails-7.2-ruby-3.1" do
gem "capybara", "~> 3.36" # For Ruby 3.1 support https://github.com/teamcapybara/capybara/pull/2468
gem "rails", "~> 7.2.0.a"
gem "selenium-webdriver", "~> 4.0" # https://github.com/rails/rails/pull/43498
end

appraise "rails-head" do
gem "capybara", "~> 3.36" # For Ruby 3.1 support https://github.com/teamcapybara/capybara/pull/24
gem "rails", github: "rails/rails", branch: "main"
Expand Down
53 changes: 53 additions & 0 deletions gemfiles/rails_7.2_ruby_3.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "activerecord-jdbcpostgresql-adapter", platforms: [:jruby]
gem "appraisal"
gem "matrix"
gem "nokogiri"
gem "pg", platforms: [:mri, :mingw, :x64_mingw]
gem "rack", "~> 2.2"
gem "rails", "~> 7.2.0.a"
gem "capybara", "~> 3.36"
gem "selenium-webdriver", "~> 4.0"

platforms :ruby do
gem "bootsnap"
gem "dotenv-rails"
gem "foreman"
gem "gem-release"
gem "github_changelog_generator", require: false
gem "net-imap", require: false
gem "net-pop", require: false
gem "net-smtp", require: false

group :debug do
gem "activerecord-explain-analyze", require: false
gem "pry-byebug"
gem "rack-mini-profiler"
gem "rbtrace"
gem "stackprof"
end

group :lint do
gem "easy_translate"
gem "erb_lint"
gem "i18n-tasks"
gem "mdl"
gem "rubocop"
gem "rubocop-performance"
gem "rubocop-rails"
gem "rubocop-rspec"
gem "sorbet"
gem "sorbet-runtime"
gem "spoom", require: false
gem "tapioca", require: false
end

group :demo, :production do
gem "skylight"
end
end

gemspec path: "../"

0 comments on commit 4201534

Please sign in to comment.