Work around bugs

This commit is contained in:
Graham Campbell
2020-10-10 00:58:29 +01:00
parent c9d0f24d3d
commit 4258a3c201
+16
View File
@@ -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: