Skip to content

Commit 76f823e

Browse files
committed
fix: update setup for Pest in workflow for PHP 8.1
1 parent cbe2654 commit 76f823e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
extensions: redis, pdo, pdo_mysql, bcmath, swoole
4040
tools: phpize
4141
coverage: none
42-
- name: Setup ParaTest for PHP 8.1
42+
- name: Setup Pest for PHP 8.1
4343
if: ${{ matrix.php == '8.1' }}
4444
run: |
45-
composer require pestphp/pest:~2.7 pestphp/pest-plugin-faker:2.0.0 --dev
45+
composer update pestphp/pest pestphp/pest-plugin-faker phpunit/phpunit -o --with-all-dependencies
4646
- name: Setup Packages
4747
run: composer update -o --with-all-dependencies
4848
- name: Check Composer Json
@@ -82,10 +82,10 @@ jobs:
8282
# run: ./.travis/setup.swoole.sh
8383
- name: Show PHP Information
8484
run: php -v && php --ri swoole
85-
- name: Setup ParaTest for PHP 8.1
85+
- name: Setup Pest for PHP 8.1
8686
if: ${{ matrix.php == '8.1' }}
8787
run: |
88-
composer require pestphp/pest:~2.7 pestphp/pest-plugin-faker:2.0.0 --dev
88+
composer update pestphp/pest pestphp/pest-plugin-faker phpunit/phpunit -o --with-all-dependencies
8989
- name: Setup Dependencies
9090
run: composer update -o --with-all-dependencies
9191
- name: Run Analyse

0 commit comments

Comments
 (0)