cocoon icon indicating copy to clipboard operation
cocoon copied to clipboard

Migrate CI from Travis CI to GitHub Actions

Open mishina2228 opened this issue 3 years ago • 2 comments

Since June 15th, 2021, the building on travis-ci.org is ceased. This PR adds GitHub Actions workflows. Here are the details:

  • Tests were being run on multiple patch versions(like 2.4.1, 2.4.5 and 2.4.6), now only the latest patch version will be tested.
  • ruby/setup-ruby does not support Rubinius(rbx-2), so rbx-2 is not included in the CI matrix.
  • Use Bundler v1.x for Rails 4 and earlier.
  • The versions of Ruby and Rails in the test targets are outdated, but I migrated them as is.
  • Comparison of CI jobs:
    • Travis CI travis https://travis-ci.org/github/nathanvda/cocoon
    • GitHub Actions gha https://github.com/mishina2228/cocoon/actions/runs/1765938505

mishina2228 avatar Jan 29 '22 14:01 mishina2228

Wow, great work. I will have to/want to look at this in a little more detail. Thanks a lot!

nathanvda avatar Jan 31 '22 13:01 nathanvda

Once this PR is merged, I'll be happy to send PRs to clean up Travis and add new Ruby/Rails tests 😄

mishina2228 avatar Feb 16 '22 10:02 mishina2228