Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 withotu error, it creates a build artifact with name "wpcom" which is required for WordPress.com's GitHub Deployment feature

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages