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

FIXES #287 - Add GitHub CI #288

Merged
merged 2 commits into from Aug 4, 2022
Merged

Conversation

deepakmahakale
Copy link
Member

FIXES #287

  • Add GitHub CI
  • Fix the breaking test cases by replacing attr_reader with attr_accessor

Used this for compatibility references - https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html

- Add more versions to matrix
- Exclude incompatible versions
- Fix rails 7 later
@deepakmahakale
Copy link
Member Author

@@ -3,7 +3,7 @@ module Wizard
extend ActiveSupport::Concern

class InvalidStepError < RuntimeError
attr_reader :step
attr_accessor :step
Copy link
Member Author

Choose a reason for hiding this comment

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

Tests were failing with

Message: <"undefined method `step=' for #<Wicked::Wizard::InvalidStepError:0x000055e4b2713b48>">
---Backtrace---
/home/runner/work/wicked/wicked/lib/wicked/wizard.rb:9:in `initialize'
/home/runner/work/wicked/wicked/lib/wicked/wizard.rb:66:in `new'
/home/runner/work/wicked/wicked/lib/wicked/wizard.rb:66:in `setup_step_from'

@schneems schneems merged commit dd2b3f3 into zombocom:main Aug 4, 2022
@schneems
Copy link
Member

schneems commented Aug 4, 2022

Thanks!

@deepakmahakale deepakmahakale deleted the FIXES-287 branch August 5, 2022 06:23
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.

Fix CI and port to GitHub actions
2 participants