Closed valscion closed 3 years ago
It looks like the main issue will be working through bundle versions versus ruby versus rails versions. For example, if I run the test against the 4.2 rails version using bundle 1.11 there is a Nokogiri error. If I run bundle 1.11 against the rails 6 version then it fails in other ways. As I am not super familiar with how the appraisals gem works I will need to come back to this later.
Yeah looks like the CI will fail with Rails 4.2. We can drop support for that in the next release so we don't have to get CI working with Rails 4.2.
Looks like the existing Travis steps do run after all, but they fail with Rails 4.2: https://github.com/venuu/jsonapi-authorization/runs/1719931321
Some additional findings...
Rails 6 tests will pass with Ruby 3 and Ruby 2.7. Rails 5 tests fail with Ruby 3 which is probably expected. I'm still learning how Git Actions work with versions. Ideally we'd specify tests to use ruby "<3" on rails "<6".
We don't need to run with Ruby 3 yet, let's get 2.x Ruby versions running first ☺️ we can then look at adding test suite with Ruby 3.0 in the future once we get the GitHub actions working ☺️
Commit from https://github.com/venuu/jsonapi-authorization/pull/138