From 477f4bb4d104905e6c846c3cec2ec57edd4de677 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Thu, 16 Apr 2020 18:46:32 +0200 Subject: tests: add phpunit w/coverage + 1 test SummaryTest --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a73b4d5..be02116 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,7 @@ dist/w_cms_%.zip: all Makefile \ "package*" \ phpcs.xml \ + phpunit.xml \ webpack.config.js # Generate the js bundles (and sourcemaps). @@ -152,10 +153,12 @@ buildclean: rm -rf $(js_srcmaps) rm -rf $(build_dir) +# Run all checks. .PHONY: check -check: - @echo Running tests... +check: $(PREV_ENV_FILE) vendor + @echo Running checks... phpcs + phpunit # Touch files affected by the build environment to force the execution # of the corresponding targets. -- cgit v1.2.3