Mark PHP8.1 phpstan build experimental
parent
e4e0e0d154
commit
4f7d06e2a7
|
@ -17,12 +17,15 @@ jobs:
|
||||||
name: "PHPStan"
|
name: "PHPStan"
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: ${{ matrix.experimental }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php-version:
|
include:
|
||||||
- "7.2"
|
- php-version: "7.2"
|
||||||
- "8.1"
|
experimental: false
|
||||||
|
- php-version: "8.1"
|
||||||
|
experimental: true
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -49,11 +52,11 @@ jobs:
|
||||||
restore-keys: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}"
|
restore-keys: "php-${{ matrix.php-version }}-symfony-php-unit-version-${{ env.SYMFONY_PHPUNIT_VERSION }}"
|
||||||
|
|
||||||
- name: "Install highest dependencies"
|
- name: "Install highest dependencies"
|
||||||
if: "matrix.php-version != '7.2'"
|
if: "matrix.experimental == true"
|
||||||
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
||||||
|
|
||||||
- name: "Install locked dependencies"
|
- name: "Install locked dependencies"
|
||||||
if: "matrix.php-version == '7.2'"
|
if: "matrix.experimental == false"
|
||||||
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }}"
|
||||||
|
|
||||||
- name: "Initialize PHPUnit sources"
|
- name: "Initialize PHPUnit sources"
|
||||||
|
|
Loading…
Reference in New Issue