1
0
Fork 0

Mark PHP8.1 phpstan build experimental

pull/10343/head
Jordi Boggiano 2021-12-10 13:13:53 +01:00
parent e4e0e0d154
commit 4f7d06e2a7
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 8 additions and 5 deletions

View File

@ -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"