Skip to content
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

Introduce GitHub Actions for CI checks to replace Travis #405

Closed
kasparsd opened this issue May 18, 2021 · 2 comments · Fixed by #436
Closed

Introduce GitHub Actions for CI checks to replace Travis #405

kasparsd opened this issue May 18, 2021 · 2 comments · Fixed by #436

Comments

@kasparsd
Copy link
Collaborator

It appears that Travis runs have been disabled for this repository after the move to the WordPress GitHub org:

Builds have been temporarily disabled for public repositories due to a negative credit balance. Please go to the Plan page to replenish your credit balance or alter your Consume paid credits for OSS setting.

https://travis-ci.com/github/wordPress/two-factor

So we need to move https://github.com/WordPress/two-factor/blob/f10c28943ec4d71d78e510a6184e19d2d2f5c71a/.travis.yml linters and test runners to GitHub actions.

@jeffpaul
Copy link
Member

@desrosj any chance you've got easily repeatable actions from your prior work on migrating Core to using GH Actions that could be repurposed for the 2FA plugin?

@kasparsd
Copy link
Collaborator Author

This is a bit more involved since we also need to replace the wp-dev-lib functionality with standalone tasks for things like linting (using wp-scripts and WPCS for PHP) and running tests (using wp-env locally and GitHub Actions during CI). I've started working on this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants