Skip to content

Example for GitHub Actions#7

Open
NasirNobin wants to merge 1 commit intowp-phpunit:masterfrom
NasirNobin:master
Open

Example for GitHub Actions#7
NasirNobin wants to merge 1 commit intowp-phpunit:masterfrom
NasirNobin:master

Conversation

@NasirNobin
Copy link

This examle-plugin does a great job of helping any WordPress plugin to get up and running on PHPUnit. Also, it has a .travis.yml example, which is nice!

However, for my project, I usually go with GitHub Actions. When implementing it, I faced a few issues, so figured would be helpful for others to have a working example.

Comment on lines +29 to +32
"config": {
"allow-plugins": {
"roots/wordpress-core-installer": true
}
Copy link
Author

@NasirNobin NasirNobin Jan 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this to remove the composer warning.

You have until July 2022 to add the setting. Composer will then switch the default behavior to disallow all plugins.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant