Skip to content

Commit 89c1e21

Browse files
authored
Update README.md
1 parent 4a36a77 commit 89c1e21

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
# githubdeployments-phpunit-phpcs-example
2-
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

Comments
 (0)