Skip to content

chore: upgrade to rails 7.2, ruby {3.2, 3.3} and add test config#6

Open
adi-herwana-nus wants to merge 1 commit into
masterfrom
adi/upgrade-rails-7-2
Open

chore: upgrade to rails 7.2, ruby {3.2, 3.3} and add test config#6
adi-herwana-nus wants to merge 1 commit into
masterfrom
adi/upgrade-rails-7-2

Conversation

@adi-herwana-nus
Copy link
Copy Markdown

@adi-herwana-nus adi-herwana-nus commented Aug 30, 2024

Copy link
Copy Markdown

@bivanalhar bivanalhar left a comment

Choose a reason for hiding this comment

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

@adi-herwana-nus some comments

Also, make sure to bump the version by changing the versioning inside lib/active_record/acts_as/version.rb

matrix:
ruby-version: ['3.0', '3.1', '3.2']
activerecord: ['6.0', '6.1', '7.0', '7.1']
ruby-version: ['3.0', '3.1', '3.2', '3.3']
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

actually, since now we're already in Rails 7.0 and Ruby 3.1, we only need the testing for

  • Rails 7.0, 7.1, 7.2
  • Ruby 3.1, 3.2, 3.3

The inclusion of Rails 6.0, 6.1 and also Ruby 3.0 is okay, just that it's redundant for our codebase (this library is only for our internal usage anyway)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Removed the rails 6 configurations, leaving behind rails 7.0, 7.1, 7.2 and Ruby 3.0, 3.1, 3.2, 3.3.

@@ -14,6 +14,7 @@ on:
branches: ['master']
schedule:
- cron: '0 0 * * 0'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

please consider carefully if you might need to remove this cron.. If you maintain this, the testing will be run once a week and last time, the test failed unexpectedly while nothing has changed.

You might want to investigate those as well

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added workflow_dispatch trigger to run actions manually to resolve intermittent failures.

- migrated pipeline from 'coveralls' to 'coveralls_reborn'
- update test case for ruby 3.3
- bump version and update changelog
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