Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Apr 30, 2023
1 parent 9ff2fef commit fe319d7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:

strategy:
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
php: ['7.4', '8.0', '8.1', '8.2', '8.3']
dev: ['8.3']

continue-on-error: ${{ matrix.php == '8.2' }}
continue-on-error: ${{ matrix.php == matrix.dev }}

steps:
- name: Checkout Code
Expand All @@ -36,15 +37,15 @@ jobs:
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Install Dependencies
if: ${{ matrix.php != '8.2' }}
if: ${{ matrix.php != matrix.dev }}
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --no-interaction --no-progress

- name: Install Dependencies (ignore platform)
if: ${{ matrix.php == '8.2' }}
- name: Install Dependencies (ignore platform php:${{ matrix.dev }})
if: ${{ matrix.php == matrix.dev }}
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
Expand Down

0 comments on commit fe319d7

Please sign in to comment.