Skip to content

Commit d2640b3

Browse files
committed
Ensure Rails versions are actually tested
1 parent 3b21347 commit d2640b3

14 files changed

+148
-15
lines changed

.github/workflows/active-record-multi-tenant-tests.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: ruby/setup-ruby@v1
1818
with:
19-
ruby-version: 3.2
19+
ruby-version: ruby
2020
bundler-cache: true
2121
- uses: actions/checkout@v4
2222
- name: Rubocop static code analysis
@@ -49,26 +49,26 @@ jobs:
4949
- '3.2'
5050
- '3.3'
5151
appraisal:
52-
- rails-6.0
53-
- rails-6.1
54-
- rails-7.0
55-
- rails-7.1
56-
- rails-7.2
57-
- rails-8.0
58-
- active-record-6.0
59-
- active-record-6.1
60-
- active-record-7.0
61-
- active-record-7.1
62-
- active-record-7.2
63-
- active-record-8.0
52+
- rails_6.0
53+
- rails_6.1
54+
- rails_7.0
55+
- rails_7.1
56+
- rails_7.2
57+
- rails_8.0
58+
- active_record_6.0
59+
- active_record_6.1
60+
- active_record_7.0
61+
- active_record_7.1
62+
- active_record_7.2
63+
- active_record_8.0
6464
citus_version:
6565
- '10'
6666
- '11'
6767
- '12'
6868

69-
name: Ruby ${{ matrix.ruby }}/${{ matrix.gemfile }} / Citus ${{ matrix.citus_version }}
69+
name: Ruby ${{ matrix.ruby }} / ${{ matrix.appraisal }} / Citus ${{ matrix.citus_version }}
7070
env:
71-
APPRAISAL: ${{ matrix.appraisal }}
71+
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
7272
CITUS_VERSION: ${{ matrix.citus_version }}
7373
steps:
7474
- uses: actions/checkout@v4

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Run RuboCop on all Ruby files, except those in `vendor` and `node_modules` directories
44
AllCops:
55
Exclude:
6+
- 'gemfiles/**/*'
67
- 'vendor/**/*'
78
- 'node_modules/**/*'
89
- 'Vagrantfile'

gemfiles/active_record_6.0.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "activerecord", "~> 6.0.3"
10+
11+
gemspec path: "../"

gemfiles/active_record_6.1.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "activerecord", "~> 6.1.0"
10+
11+
gemspec path: "../"

gemfiles/active_record_7.0.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "activerecord", "~> 7.0.0"
10+
11+
gemspec path: "../"

gemfiles/active_record_7.1.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "activerecord", "~> 7.1.0"
10+
11+
gemspec path: "../"

gemfiles/active_record_7.2.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "activerecord", "~> 7.2.0"
10+
11+
gemspec path: "../"

gemfiles/active_record_8.0.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "activerecord", "~> 8.0.0"
10+
11+
gemspec path: "../"

gemfiles/rails_6.0.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "rails", "~> 6.0.3"
10+
11+
gemspec path: "../"

gemfiles/rails_6.1.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "rails", "~> 6.1.0"
10+
11+
gemspec path: "../"

gemfiles/rails_7.0.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "rails", "~> 7.0.0"
10+
11+
gemspec path: "../"

gemfiles/rails_7.1.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "rails", "~> 7.1.0"
10+
11+
gemspec path: "../"

gemfiles/rails_7.2.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "rails", "~> 7.2.0"
10+
11+
gemspec path: "../"

gemfiles/rails_8.0.gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "appraisal"
6+
gem "rubocop", require: false, group: "test"
7+
gem "simplecov"
8+
gem "simplecov-cobertura"
9+
gem "rails", "~> 8.0.0"
10+
11+
gemspec path: "../"

0 commit comments

Comments
 (0)