-
-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Labels
workflow-editIssue can be fixed by editing the GitHub Action workflowIssue can be fixed by editing the GitHub Action workflow
Description
Describe the bug
PHPUnit 10.0.0 by Sebastian Bergmann and contributors.
This version of PHPUnit requires PHP >= 8.1.
You are using PHP 8.0.27 (/usr/bin/php8.0).
Error: Process completed with exit code 1.
GitHub Actions job part
- name: Install PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
ini-file: myapp/php.ini
tools: phpunit, phpcs, phpcbf
Version
- I have checked releases, and the bug exists in the latest patch version of
v1orv2. -
v2 -
v1
Runners
- GitHub Hosted
- Self Hosted
Operating systems
PHP versions
8.0
To Reproduce
Expected behavior
Not installing incompatible versions
Screenshots/Logs
Additional context
Are you willing to submit a PR?
Workaround:
specify the phpunit version as described in the Tools Support:
- name: Install PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
ini-file: myapp/php.ini
tools: phpunit:9.5, phpcs, phpcbf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
workflow-editIssue can be fixed by editing the GitHub Action workflowIssue can be fixed by editing the GitHub Action workflow