Skip to content

Commit

Permalink
Merge pull request #130 from antecedent/feature/ghactions-fix-test-runs
Browse files Browse the repository at this point in the history
GH Actions: fix test runs + start testing against PHP 8.2
  • Loading branch information
antecedent committed Aug 4, 2022
2 parents 257a8d4 + 9cd2879 commit 0aa3717
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
name: "PHP: ${{ matrix.php-versions }}"

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

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -30,16 +33,15 @@ jobs:
extensions: mbstring
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On, log_errors_max_len=0
coverage: none
tools: none

# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-composer-dependencies
- 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 (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"
with:
composer-options: --ignore-platform-reqs
Expand Down

0 comments on commit 0aa3717

Please sign in to comment.