Skip to content

Commit

Permalink
Allow PHP 7.0 to be skipped with regards to runkit7
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegrunwell committed Nov 24, 2020
1 parent c03ee4f commit 61d912d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
env:
fail-fast: true

# Version 2.x of runkit7 dropped PHP 7.0 support, but older releases are not available via PECL.
# https://pecl.php.net/package/runkit7
- name: Configure PHP environment (PHP 7.0 only)
uses: shivammathur/setup-php@v2
if: ${{ matrix.php == '7.0' }}
with:
php-version: ${{ matrix.php }}
tools: pecl
extensions: https://github.com/runkit7/runkit7/releases/download/1.0.11/runkit-1.0.11.tgz
env:
fail-fast: true
extensions: runkit7-1.0.11

- name: Configure PHP environment (PHP 5.x only)
uses: shivammathur/setup-php@v2
Expand Down

0 comments on commit 61d912d

Please sign in to comment.