mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Add php 8 to build matrix
This commit is contained in:
@@ -64,6 +64,7 @@ jobs:
|
|||||||
phpunit:
|
phpunit:
|
||||||
name: Unit tests for PHP version ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
|
name: Unit tests for PHP version ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
|
||||||
runs-on: ${{ matrix.operating-system }}
|
runs-on: ${{ matrix.operating-system }}
|
||||||
|
continue-on-error: ${{ matrix.php-versions == '8.0' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system:
|
operating-system:
|
||||||
@@ -71,6 +72,9 @@ jobs:
|
|||||||
- windows-latest
|
- windows-latest
|
||||||
- macOS-latest
|
- macOS-latest
|
||||||
php-versions: ['7.2', '7.3', '7.4']
|
php-versions: ['7.2', '7.3', '7.4']
|
||||||
|
include:
|
||||||
|
- operating-system: ubuntu-latest
|
||||||
|
php-versions: '8.0'
|
||||||
env:
|
env:
|
||||||
extensions: mbstring
|
extensions: mbstring
|
||||||
key: cache-v1 # can be any string, change to clear the extension cache.
|
key: cache-v1 # can be any string, change to clear the extension cache.
|
||||||
@@ -100,7 +104,7 @@ jobs:
|
|||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php-versions }}
|
php-version: ${{ matrix.php-versions }}
|
||||||
extension: ${{ env.extensions }}
|
extensions: ${{ env.extensions }}
|
||||||
ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
|
ini-values: memory_limit=2G, display_errors=On, error_reporting=-1
|
||||||
|
|
||||||
- name: Restore/cache tools folder
|
- name: Restore/cache tools folder
|
||||||
|
|||||||
Reference in New Issue
Block a user