You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example plugin repository with a workflow script that runs PHP CodeSniffer and PHPUnit
2
+
An example plugin repository with a workflow script that runs PHP CodeSniffer and PHPUnit.
3
+
4
+
The [workflow](.github/workflows/wpcom.yml) does the following:
5
+
6
+
- Checkout the repository
7
+
- Runs the composer action which executes the default command, `composter install`.
8
+
- Runs the composer action again with a custom command that runs PHPCodeSniffer
9
+
- Runs the composer action again with a custom command that runs PHPUnit
10
+
- 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
0 commit comments