Skip to content

Commit 424447a

Browse files
committedApr 19, 2024··
update cicd to Makefile
1 parent 85b6324 commit 424447a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
 

‎.github/workflows/php.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
restore-keys: ${{ matrix.php }}-composer-
2929

3030
- name: Install dependencies
31-
run: composer install --prefer-dist --no-progress --no-suggest
31+
run: make setup_application
3232

3333
- name: Run test suite
34-
run: vendor/bin/phpunit
34+
run: make test_application
3535

‎Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.PHONY: setup_application
2+
setup_application:
3+
composer install --prefer-dist --no-progress
4+
5+
.PHONY: test_application
6+
test_application:
7+
php vendor/bin/phpunit

0 commit comments

Comments
 (0)
Please sign in to comment.