Skip to content

Commit cabfc0d

Browse files
chore: run php unit from vendor/bin
1 parent b6ceeec commit cabfc0d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pull-request-check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: shivammathur/setup-php@v2
1414
with:
1515
php-version: '8.2'
16-
tools: composer, phpunit:9.6
16+
tools: composer
1717
coverage: none
1818

1919
- name: Cache Composer dependencies
@@ -23,7 +23,9 @@ jobs:
2323
key: ${{ runner.os }}-${{ hashFiles('composer.lock') }}
2424

2525
- name: Installing dependencies
26+
env:
27+
COMPOSER_CACHE_DIR: /tmp/composer-cache
2628
run: composer install --no-interaction --no-progress --prefer-dist
2729

2830
- name: Running unit test
29-
run: phpunit --configuration phpunit.xml
31+
run: vendor/bin/phpunit --configuration phpunit.xml

0 commit comments

Comments
 (0)