thoughtbot / appraisal

A Ruby library for testing your library against different versions of dependencies.
https://thoughtbot.com
MIT License
1.25k stars 107 forks source link

CI: What comes after Travis? #188

Open olleolleolle opened 2 years ago

olleolleolle commented 2 years ago

Hi, I'm a user, looking to use GitHub Actions with Appraisal, and I came looking here for... ideas.

Now, the CI of this project does not run, and will not, due to the service being shuttered.

Is there interest in using another service for it?

nickcharlton commented 2 years ago

I plan to switch to GitHub Actions once I've added some tests to #174. (I'm looking at this again this Friday.)

I've already done a few Travis/Circle CI migrations to GitHub Actions, but most are, unfortunately, private. There's one on Administrate, though if you fancied copying some ideas: https://github.com/thoughtbot/administrate/pull/1932

moiristo commented 2 years ago

I recently updated my deep_cloneable gem from Travis to GHA. I managed to replicate the setup I previously had in Travis using gemfile paths (as in the README) by creating a build matrix of rubies and appraisals:

https://github.com/moiristo/deep_cloneable/blob/master/.github/workflows/ruby.yml

Hope this helps for you!

n-rodriguez commented 1 year ago

Hi there! Any news ?

nickcharlton commented 1 year ago

I started looking into a GitHub Actions matrix earlier today: https://github.com/thoughtbot/appraisal/tree/nc-use-github-actions

Lots to go yet (as I write this, it won't pass once), but broadly what I'm aiming for. I'd like to test against a few versions of bundler too, but soon.

pboling commented 2 months ago

Working example of Appraisal & Combustion with a massive test matrix on Github Actions in my sanitize_email gem here: https://github.com/pboling/sanitize_email/commit/a9c1d9a11732b57e1b898e74516bbff36724ff97