-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from zendesk/edytaroz/rails-main-testing
Test with rails main
- Loading branch information
Showing
11 changed files
with
44 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test against Rails main | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" # Run every day at 00:00 UTC | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
main: | ||
name: Ruby${{ matrix.ruby }} rails_main | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- '3.3' | ||
env: | ||
CI: true | ||
BUNDLE_GEMFILE: gemfiles/rails_main.gemfile | ||
|
||
steps: | ||
- uses: zendesk/checkout@v3 | ||
- uses: zendesk/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- run: bundle exec rake test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
name = "active_record_inherit_assoc" | ||
|
||
Gem::Specification.new name, "2.13.2" do |s| | ||
Gem::Specification.new name, "2.14.0" do |s| | ||
s.summary = "Attribute inheritance for AR associations" | ||
s.authors = ["Ben Osheroff"] | ||
s.email = ["[email protected]"] | ||
s.files = `git ls-files lib`.split("\n") | ||
s.license = "Apache License Version 2.0" | ||
s.homepage = "https://github.com/zendesk/#{name}" | ||
|
||
s.add_runtime_dependency 'activerecord', '>= 5.0.0', '< 7.2' | ||
s.required_ruby_version = '>= 2.6' | ||
s.add_runtime_dependency 'activerecord', '>= 6.1' | ||
s.required_ruby_version = '>= 3.1' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
gem 'minitest-rg' | ||
gem 'rake' | ||
gem 'bump' | ||
gem 'sqlite3' | ||
gem 'sqlite3', '~> 1.4' | ||
gem 'byebug' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
eval_gemfile('common.rb') | ||
|
||
gem 'activerecord', '~> 7.2.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
eval_gemfile('common.rb') | ||
|
||
gem 'activerecord', github: 'rails/rails', branch: 'main' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters