Skip to content

Run CI against Rails 6 #129

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

Merged
merged 5 commits into from
Jan 12, 2020
Merged

Run CI against Rails 6 #129

merged 5 commits into from
Jan 12, 2020

Conversation

brianswko
Copy link
Contributor

@brianswko brianswko commented Oct 3, 2019

Loosens the sqlite3 dev dependency to allow tests to run on any supported version of rails.

Adds appraisals and gemfiles for rails 6 to run in CI

Updates the ruby version in CI to 2.5
Resolves #132

.travis.yml Outdated
- gemfiles/rails_4_2_pundit_2.gemfile
- gemfiles/rails_5_0_pundit_2.gemfile
- gemfiles/rails_5_1_pundit_2.gemfile
- gemfiles/rails_5_2_pundit_2.gemfile
- gemfiles/rails_6_0_pundit_2.gemfile
matrix:
exclude:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the minimum number of exclusions since rails 4.2 doesn't like ruby 2.5 and rails 6 doesn't support ruby 2.3. Totally open to adding more exclusions so we're not running 16 builds

Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to only run Ruby 2.5 for Rails 6 runs, and keep 2.3 for other Rails versions?

Copy link
Member

@valscion valscion left a comment

Choose a reason for hiding this comment

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

See my earlier comment

Copy link
Member

@valscion valscion left a comment

Choose a reason for hiding this comment

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

Thanks for the changes @brianswko!

@valscion valscion merged commit 28ff302 into venuu:master Jan 12, 2020
lgebhardt pushed a commit to lgebhardt/jsonapi-authorization that referenced this pull request Feb 8, 2020
* Run CI against Rails 6

* Use ruby 2.5

* Dummy app updates for rails 6

* Run all but Rails 4.2 tests with Ruby 2.5

* Add empty asset manifest to appease Rails

Co-authored-by: Vesa Laakso <482561+valscion@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants