Skip to content

Commit

Permalink
[TASK] Add testing to makefile (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf authored May 22, 2024
1 parent 7c78ff6 commit dd9b9eb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,19 @@ docs: ## Generate projects documentation (from "Documentation" directory)
test-docs: ## Test the documentation rendering
mkdir -p Documentation-GENERATED-temp
docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --fail-on-log

.PHONY: rector
rector: ## Run rector
Build/Scripts/runTests.sh -s rector

.PHONY: fix-cs
fix-cs: ## Fix PHP coding styles
Build/Scripts/runTests.sh -s cgl

.PHONY: phpstan
phpstan: ## Run phpstan tests
Build/Scripts/runTests.sh -s phpstan

.PHONY: phpstan-baseline
phpstan-baseline: ## Update the phpstan baseline
Build/Scripts/runTests.sh -s phpstanBaseline

0 comments on commit dd9b9eb

Please sign in to comment.