Skip to content

Automattic/githubdeployments-phpunit-phpcs-example

Repository files navigation

Image for: Repository files navigation

githubdeployments-phpunit-phpcs-example

An example plugin repository with a workflow script that runs PHP CodeSniffer and PHPUnit.

The workflow does the following:

  • Checkout the repository
  • Runs the composer action which executes the default command, composter install.
  • Runs the composer action again with a custom command that runs PHPCodeSniffer
  • Runs the composer action again with a custom command that runs PHPUnit
  • If all previous actions completely without error, it creates a build artifact with name "wpcom" which is required for WordPress.com's GitHub Deployment feature

About

Image for: About

An example plugin repository with a workflow script that runs PHP CodeSniffer and PHPUnit

Resources

License

Stars

Watchers

Forks

Releases

Image for: Releases
No releases published

Packages

Image for: Packages 0
 
 
 

Languages

Image for: Languages