Skip to content

Commit

Permalink
Merge pull request #180 from jrfnl/feature/ghactions-run-tests-agains…
Browse files Browse the repository at this point in the history
…t-php-8.2

GH Actions: run tests against PHP 8.2
  • Loading branch information
paragonie-security authored Jun 19, 2022
2 parents 23ba782 + e5f04a4 commit 4957160
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']

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

steps:
- name: Checkout
Expand All @@ -56,12 +56,12 @@ jobs:
- name: Modernize dependencies
run: composer require --dev --no-update "phpunit/phpunit:>=4"

- name: Install Composer dependencies (PHP < 8.1)
if: ${{ matrix.php-versions != '8.1' }}
- name: Install Composer dependencies (PHP < 8.2)
if: ${{ matrix.php-versions != '8.2' }}
uses: "ramsey/composer-install@v2"

- name: Install Composer dependencies - ignore-platform-reqs (PHP 8.1)
if: ${{ matrix.php-versions == '8.1' }}
- name: Install Composer dependencies - ignore-platform-reqs (PHP 8.2)
if: ${{ matrix.php-versions == '8.2' }}
uses: "ramsey/composer-install@v2"
with:
composer-options: --ignore-platform-reqs
Expand Down

0 comments on commit 4957160

Please sign in to comment.