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

Add CI for support-ar6.0.z #18

Merged

Conversation

akariiijima
Copy link

@akariiijima akariiijima commented Jun 23, 2023

Goodbye TravisCI, Welcome GithubActions

TravisCI is currently not working. This is probably because it was not maintained. Therefore, we will adopt GithubActions instead of using TravisCI.

CI for support-ar6.0.z

Matrix build test for ruby 2.4-2.7 ✖️ rails 5.0.0-6.0.6

Fix gemfiles for some reasons about dependencies

Some jobs failed because...

  • More than rails 6 support only ruby more than 2.5, so ruby 2.4 or less is failed CI

@akariiijima akariiijima self-assigned this Jun 23, 2023
@@ -1,10 +1,14 @@
source "https://rubygems.org"

gem "rails", "5.0.0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you need to add a gem such as Rails?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gem "mysql2", "~> 0.4.4"

gem "minitest", "< 5.3.4"
gem "mocha", "~> 0.14", require: false
gem "nokogiri", "~> 1.10" if RUBY_VERSION.to_f < 2.5

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these making changes?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hirocaster
Copy link

Glad you sent us a PR, and we will be sure to keep you posted on our progress. 😄
However, it would be very helpful if you could explain the reasons for the increase in dependence as it seems to be increasing.

@akariiijima
Copy link
Author

akariiijima commented Jun 26, 2023

@hirocaster
I added descriptions about fix reasons!
Please check and let me know if you have some questions.

@hirocaster
Copy link

#18 (comment)

Why did you need to add a gem such as Rails?

I looked at the DESCRIPTION but could not find a reason for this.

@akariiijima
Copy link
Author

About adding "gem rails", I referenced original file (ex: gemfiles/rails6_0_4.gemfile, etc...)😄

@hirocaster
Copy link

hirocaster commented Jun 27, 2023

Okay, I understand.
I recognized that I may need to organize gemfile as it should not inherently depend on Rails.

@akariiijima akariiijima force-pushed the add-ci-for-support-ar6.0.Z branch from b508d40 to b8033c5 Compare June 27, 2023 09:28
@akariiijima akariiijima changed the title Add CI for support-ar6.0.z [WIP] Add CI for support-ar6.0.z Jun 27, 2023
@akariiijima akariiijima changed the title [WIP] Add CI for support-ar6.0.z Add CI for support-ar6.0.z Jun 28, 2023
@akariiijima
Copy link
Author

gem rails is needed for require rails


Gemfiles seem to be need not to change in this last commit. 👍

@akariiijima akariiijima force-pushed the add-ci-for-support-ar6.0.Z branch from 26d1b18 to 7477a08 Compare July 7, 2023 01:00
@akariiijima akariiijima changed the title Add CI for support-ar6.0.z [WIP] Add CI for support-ar6.0.z Jul 28, 2023
@akariiijima akariiijima force-pushed the add-ci-for-support-ar6.0.Z branch 2 times, most recently from e64afe9 to 7bcbe4f Compare August 23, 2023 09:28
@akariiijima akariiijima changed the title [WIP] Add CI for support-ar6.0.z Add CI for support-ar6.0.z Aug 23, 2023
ensure
if ActiveRecord::Turntable::Util.ar60_or_later?
ActiveRecord::Base.connection_handlers = original_handlers
begin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit is duplicate #19.
Please, fix the change commits.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed!

@akariiijima akariiijima force-pushed the add-ci-for-support-ar6.0.Z branch from 7999f54 to 1af32dc Compare August 28, 2023 07:28
@hirocaster hirocaster merged commit 9673991 into mixigroup:support-ar6.0.Z Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants