Skip to content

Commit

Permalink
update cicd to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
svpernova09 committed Apr 19, 2024
1 parent 85b6324 commit 424447a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
restore-keys: ${{ matrix.php }}-composer-

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
run: make setup_application

- name: Run test suite
run: vendor/bin/phpunit
run: make test_application

7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: setup_application
setup_application:
composer install --prefer-dist --no-progress

.PHONY: test_application
test_application:
php vendor/bin/phpunit

0 comments on commit 424447a

Please sign in to comment.