Fix build setup and pivot to GitHub Actions#131
Fix build setup and pivot to GitHub Actions#131leoarnold wants to merge 1 commit intoprawnpdf:masterfrom
Conversation
|
Before merge: Make sure GitHub Actions is enabled for this repo and reconfigure branch protection for |
This fixes unit tests which failes because they tried to use an image files from another gem and did not find it in the expected location. We simply add the file as a fixture to the project at hand. Also, this project was still using Travis CI **dot org** which was deprecated in favor of **dot com**, and then again Travis CI introduced restrictions to protect their infrastructure which are just detremental to OSS development: https://www.jeffgeerling.com/blog/2020/travis-cis-new-pricing-plan-threw-wrench-my-open-source-works Hence we move all tests over to GitHub Actions.
c57183e to
fe35210
Compare
|
@pointlessone I would prioritize merging this. |
|
@petergoldstein Can we have a copy of the prawnpdf/prawn setup here? Maybe apart from RuboCop part. I don't believe this repos even has RuboCop set up in it. |
|
@pointlessone Sure. I'll set up Rubocop as well with the same config and just add a .rubocop_todo.yml for all existing lints. One quick question - can I change the I'll put up a PR with that in the next 24 hours. |
|
@petergoldstein Yes, we probably should change that on other repos to. I suggest splitting RuboCop into a separate PR or even skipping it altogether. I imagine it will take some effort to fix all the issues there and it's not immediately valuable. |
|
@pointlessone Ok. I'll split Rubocop out separately. Any objection to me removing the custom bundle cache logic? There's a built in bundle-cache in the ruby/setup-ruby action that does this all automatically. Any objection to me using that? It works fine with multiple rubies. That will simplify the GitHub Actions file significantly. |
|
Please keep the custom bundle cache logic. It has been discussed extensively in prawnpdf/prawn#1190 and ruby/setup-ruby#136. It's been a while since those discussions but I don't think much has changed since. |
This fixes unit tests which failes because they tried to use
an image files from another gem and did not find it in the
expected location. We simply add the file as a fixture
to the project at hand.
Also, this project was still using Travis CI dot org
which was deprecated in favor of dot com, and then again
Travis CI introduced restrictions to protect their
infrastructure which are just detremental to OSS development:
https://www.jeffgeerling.com/blog/2020/travis-cis-new-pricing-plan-threw-wrench-my-open-source-works
Hence we move all tests over to GitHub Actions.