Skip to content

Commit

Permalink
Merge pull request #69 from jrfnl/feature/ghactions-tweak-php-versions
Browse files Browse the repository at this point in the history
GH Actions: update PHP versions in workflows
  • Loading branch information
rdohms committed Feb 2, 2023
2 parents 86b86e6 + b000535 commit 676fe6d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

strategy:
matrix:
php: ['8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4']
php: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4']
dependency-version: ['prefer-stable']
experimental: [false]

Expand All @@ -45,8 +45,11 @@ jobs:
- php: '8.1'
dependency-version: 'prefer-lowest'
experimental: false

- php: '8.2'
dependency-version: 'prefer-lowest'
experimental: false

- php: '8.3'
dependency-version: 'prefer-stable'
experimental: true

Expand Down Expand Up @@ -79,12 +82,12 @@ jobs:
run: composer require --no-update phpunit/phpunit:"^9.0" --no-interaction

- name: Install dependencies - normal
if: ${{ matrix.php < 8.2 }}
if: ${{ matrix.php < 8.3 }}
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --no-interaction
- name: Install dependencies - ignore platform reqs
if: ${{ matrix.php >= 8.2 }}
if: ${{ matrix.php >= 8.3 }}
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-reqs --no-interaction
Expand Down

0 comments on commit 676fe6d

Please sign in to comment.