File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 5555 - name : Install dependencies
5656 run : docker compose run -u $(id -u):$(id -g) --rm ${{ matrix.container }} composer install --prefer-dist --no-progress
5757
58- - name : Coding Standard Checks
59- run : docker compose run --rm ${{ matrix.container }} bin/php-cs-fixer fix --verbose --diff --dry-run
60-
61- - name : Unit tests
62- run : docker compose run --rm ${{ matrix.container }} ./bin/phpunit
63-
64- - name : Run behat tests
65- run : docker compose run --rm ${{ matrix.container }} ./bin/behat --snippets-for
58+ - name : Run tests
59+ run : CONTAINER=${{ matrix.container }} make tests
Original file line number Diff line number Diff line change 11CONTAINER ?= php84
22DOCKER_RUN =docker compose run --rm $(CONTAINER )
33
4+ .PHONY : setup tests matrix-tests doc-images
5+
46setup :
57 docker compose build $(CONTAINER )
68 $(DOCKER_RUN ) composer update
79
10+
811tests :
912 docker compose run --rm $(CONTAINER ) bin/php-cs-fixer fix --verbose --diff --dry-run
10- docker compose run --rm $(CONTAINER ) bin/phpspec run --format=pretty
13+ docker compose run --rm $(CONTAINER ) bin/phpunit
1114 docker compose run --rm $(CONTAINER ) bin/behat --snippets-for
1215
1316matrix-tests :
You can’t perform that action at this time.
0 commit comments