Skip to content

Commit 1044fa9

Browse files
authored
Merge pull request #501 from linawolf/test-docs
Integrate Documentation Tests into Makefile
2 parents 8da3814 + edcab4f commit 1044fa9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ psalm:
2424
$(PHP_BIN) vendor/bin/psalm --update-baseline
2525

2626
.PHONY: test
27-
test: test-unit test-functional test-integration## Runs all test suites with phpunit/phpunit
27+
test: test-unit test-functional test-integration test-docs## Runs all test suites with phpunit/phpunit
2828

2929
.PHONY: test-unit
3030
test-unit: ## Runs unit tests with phpunit/phpunit
@@ -38,6 +38,10 @@ test-functional: ## Runs functional tests with phpunit/phpunit
3838
test-integration: ## Runs integration tests with phpunit/phpunit
3939
$(PHP_BIN) vendor/bin/phpunit --testsuite=integration
4040

41+
.PHONY: test-docs
42+
test-docs: ## Generate projects docs without warnings
43+
$(PHP_BIN) vendor/bin/guides -vvv --no-progress docs /tmp/test --fail-on-log
44+
4145
.PHONY: cleanup
4246
cleanup: cleanup-tests cleanup-build cleanup-cache
4347

0 commit comments

Comments
 (0)