mirror of
https://github.com/filp/whoops.git
synced 2026-09-20 15:16:46 +00:00
Work around bugs
This commit is contained in:
@@ -27,6 +27,22 @@ jobs:
|
||||
- name: Setup Problem Matchers
|
||||
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
|
||||
|
||||
- name: Fix PHPUnit Version PHP < 7.4
|
||||
uses: nick-invision/retry@v1
|
||||
with:
|
||||
timeout_minutes: 5
|
||||
max_attempts: 5
|
||||
command: composer require "phpunit/phpunit:^6.5.14 || ^7.5.20 || ^8.5.8" --dev --no-update --no-interaction
|
||||
if: "matrix.php < 7.4"
|
||||
|
||||
- name: Fix PHPUnit Version PHP >= 7.4
|
||||
uses: nick-invision/retry@v1
|
||||
with:
|
||||
timeout_minutes: 5
|
||||
max_attempts: 5
|
||||
command: composer require "phpunit/phpunit:^9.3.3" --dev --no-update --no-interaction
|
||||
if: "matrix.php >= 7.4"
|
||||
|
||||
- name: Install PHP Dependencies
|
||||
uses: nick-invision/retry@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user