diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-04-17 18:37:41 +0200 |
---|---|---|
committer | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-04-17 19:03:34 +0200 |
commit | c272a5d2d8ae46a333dd955a1431e4d4b84201e4 (patch) | |
tree | 3883f54b962d754737472e433e78ecb13aafe335 | |
parent | 8b3eff62eeeac68b7ffa3add6db88df1d5e82371 (diff) | |
download | wcms-c272a5d2d8ae46a333dd955a1431e4d4b84201e4.tar.gz wcms-c272a5d2d8ae46a333dd955a1431e4d4b84201e4.zip |
tests: add check to release target + readme info
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 17 |
2 files changed, 18 insertions, 1 deletions
@@ -44,7 +44,7 @@ watch: # Create a new release and upload it on GitHub. .PHONY: release -release: node_modules +release: check node_modules release-it # Inform Sentry of a new release. @@ -138,6 +138,23 @@ While developing the JS sources it is useful to run webpack in watch mode so tha make watch +Run checks +--------- + +Multiple tools are used to perform checks on the source code: + +- **phpcs** to lint PHP code + + make lint + +- **phpunit** to run unit test on PHP code + + make test + +All checks can be run with a single command + + make check [--keep-going] + Publish a new release --------------------- |