File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 uses : shivammathur/setup-php@v2
2323 with :
2424 php-version : ${{ env.PHP_VERSION }}
25- extensions : bcmath
2625 tools : composer:2
2726
2827 - name : Validate composer.json
5251 uses : shivammathur/setup-php@v2
5352 with :
5453 php-version : ${{ env.PHP_VERSION }}
55- extensions : bcmath
5654 tools : composer:2
5755
5856 - name : Download vendor artifact from build
7775 uses : shivammathur/setup-php@v2
7876 with :
7977 php-version : ${{ env.PHP_VERSION }}
80- extensions : bcmath
8178 tools : composer:2
8279
8380 - name : Download vendor artifact from build
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ test-file: ## Run tests for a specific file (usage: make test-file FILE=path/to/
3434test-no-coverage : configure-test-environment # # Run all tests without coverage
3535 @${DOCKER_RUN} composer tests-no-coverage
3636
37+ .PHONY : unit-test-no-coverage
38+ unit-test-no-coverage : # # Run unit tests without coverage
39+ @${DOCKER_RUN} composer run unit-tests-no-coverage
40+
3741.PHONY : configure-test-environment
3842configure-test-environment :
3943 @if ! docker network inspect tiny-blocks > /dev/null 2>&1 ; then \
@@ -63,7 +67,7 @@ help: ## Display this help message
6367 | awk ' BEGIN {FS = ":.*? ## "}; {printf "$(YELLOW)%-25s$(RESET) %s\n", $$1, $$2}'
6468 @echo " "
6569 @echo " $$ (printf '$( GREEN) ')Testing$$ (printf '$( RESET) ')"
66- @grep -E ' ^(test|test-file|test-no-coverage):.*?## .*$$' $(MAKEFILE_LIST ) \
70+ @grep -E ' ^(test|test-file|test-no-coverage|unit-test-no-coverage ):.*?## .*$$' $(MAKEFILE_LIST ) \
6771 | awk ' BEGIN {FS = ":.*?## "}; {printf "$(YELLOW)%-25s$(RESET) %s\n", $$1, $$2}'
6872 @echo " "
6973 @echo " $$ (printf '$( GREEN) ')Quality$$ (printf '$( RESET) ')"
Original file line number Diff line number Diff line change 4141 "require" : {
4242 "php" : " ^8.5" ,
4343 "symfony/process" : " ^7.4" ,
44- "tiny-blocks/ksuid" : " ^1.4 " ,
45- "tiny-blocks/mapper" : " 1.2.* " ,
46- "tiny-blocks/collection" : " 1.12.* "
44+ "tiny-blocks/ksuid" : " ^1.5 " ,
45+ "tiny-blocks/mapper" : " ^2.0 " ,
46+ "tiny-blocks/collection" : " ^1.15 "
4747 },
4848 "require-dev" : {
4949 "ext-pdo" : " *" ,
5050 "phpunit/phpunit" : " ^11.5" ,
5151 "phpstan/phpstan" : " ^2.1" ,
5252 "dg/bypass-finals" : " ^1.9" ,
53- "squizlabs/php_codesniffer" : " ^3.13 "
53+ "squizlabs/php_codesniffer" : " ^4.0 "
5454 },
5555 "scripts" : {
5656 "test" : " php -d memory_limit=2G ./vendor/bin/phpunit --configuration phpunit.xml tests" ,
5757 "phpcs" : " php ./vendor/bin/phpcs --standard=PSR12 --extensions=php ./src" ,
5858 "phpstan" : " php ./vendor/bin/phpstan analyse -c phpstan.neon.dist --quiet --no-progress" ,
5959 "test-file" : " php ./vendor/bin/phpunit --configuration phpunit.xml --no-coverage --filter" ,
6060 "test-no-coverage" : " php ./vendor/bin/phpunit --configuration phpunit.xml --no-coverage tests" ,
61+ "unit-tests-no-coverage" : " php ./vendor/bin/phpunit --configuration phpunit.xml --no-coverage --testsuite unit" ,
6162 "review" : [
6263 " @phpcs" ,
6364 " @phpstan"
You can’t perform that action at this time.
0 commit comments