Skip to content

Commit c23d48b

Browse files
author
Mokhtar Tlili
committed
use phpunit, phpstan as tools
1 parent 15e6d9d commit c23d48b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/php.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: shivammathur/setup-php@v2
2626
with:
2727
php-version: ${{ matrix.php }}
28-
tools: composer
28+
tools: composer, phpstan, phpunit
2929
coverage: pcov
3030

3131
- name: Validate composer.json and composer.lock
@@ -44,10 +44,7 @@ jobs:
4444
run: composer install --prefer-dist --no-progress
4545

4646
- name: Quality Code
47-
run: composer run-script phpstan
47+
run: phpstan
4848

4949
- name: PHPUnit Tests
50-
run: composer run-script phpunit
51-
52-
- name: Setup PCOV
53-
run: pcov
50+
run: phpunit

0 commit comments

Comments
 (0)