mautic-wordpress icon indicating copy to clipboard operation
mautic-wordpress copied to clipboard

Migrate from TravisCI to GitHub Action

Open shulard opened this issue 4 years ago • 9 comments

Since travis.org will be down soon, we need to migrate the CI pipeline to GitHub Action.

See: https://blog.travis-ci.com/oss-announcement


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

shulard avatar Mar 03 '21 17:03 shulard

Would you like me to set up Github Actions on the repo for you?

RCheesley avatar Mar 04 '21 11:03 RCheesley

If you can I'll be happy to have some help here ^^

shulard avatar Mar 04 '21 11:03 shulard

For sure - may be next week but will definitely take a look!

RCheesley avatar Mar 04 '21 11:03 RCheesley

@shulard I have made a start on this in a draft WIP PR #112

I notice that WP actually already uses GitHub Actions here.

Maybe we can recycle / take inspiration from their workflows but I may need your assistance to understand what the tests will need and so forth - will ping you on Slack!

RCheesley avatar Apr 08 '21 19:04 RCheesley

Hello @RCheesley !

Sorry for the late reply, I haven't got any time to work on this part... Their workflow is complicated and I don't know how GitHub action works already... I take a look and I think only their phpunit-tests.yml workflow is useful for us. All the others details are specific to WP releases...

At the beginning, I took inspiration from the official WP Travis configuration and I adapted it. Maybe it's a good start but I need to understand deeper their execution steps to be sure what to keep and what to remove...

shulard avatar Apr 29 '21 09:04 shulard

Great - I haven't had time to come back to it since I started with the draft PR - hopefully we should be able to bring over some of the stuff they do.

RCheesley avatar Apr 29 '21 14:04 RCheesley