Skip to content

Commit 8c6155d

Browse files
committed
upsome
1 parent 7a1b23a commit 8c6155d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/php.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: shivammathur/setup-php@v2
2424
with:
2525
php-version: ${{ matrix.php}}
26-
tools: pecl, php-cs-fixer, phpunit-7.5
26+
tools: pecl, php-cs-fixer # , phpunit-7.5
2727
extensions: mbstring, dom, fileinfo, openssl, igbinary # , swoole-4.4.19 #optional, setup extensions
2828
ini-values: post_max_size=56M, short_open_tag=On #optional, setup php.ini configuration
2929
coverage: none #optional, setup coverage driver: xdebug, none
@@ -32,10 +32,12 @@ jobs:
3232
run: env
3333

3434
- name: Install dependencies
35-
run: composer install --no-progress --no-suggest
35+
run: |
36+
composer install --no-progress --no-suggest
37+
composer require --dev phpunit/phpunit
3638
3739
# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
3840
# Docs: https://getcomposer.org/doc/articles/scripts.md
3941

4042
- name: Run test suite
41-
run: phpunit
43+
run: ./vendor/bin/phpunit

0 commit comments

Comments
 (0)