Added PHP 8.2 to build matrixes

This commit is contained in:
Alejandro Celaya 2022-09-24 08:03:38 +02:00
parent 70b15a7ab0
commit 62ce9311bf
5 changed files with 12 additions and 5 deletions

View file

@ -41,7 +41,10 @@ runs:
extensions: ${{ inputs.php-extensions }}
coverage: pcov
ini-values: pcov.directory=module
- run: echo "::set-output name=composerArgs::${{ inputs.php-version == '8.2' && '--ignore-platform-req-php' || '' }}"
id: composer_args
shell: bash
- name: Install dependencies
if: ${{ inputs.install-deps == 'yes' }}
run: composer install --no-interaction --prefer-dist
run: composer install --no-interaction --prefer-dist ${{ steps.composer_args.outputs.composerArgs }}
shell: bash

View file

@ -13,7 +13,8 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php-version: [ '8.1' ]
php-version: ['8.1', '8.2']
continue-on-error: ${{ matrix.php-version == '8.2' }}
env:
LC_ALL: C
steps:

View file

@ -13,7 +13,8 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php-version: [ '8.1' ]
php-version: ['8.1', '8.2']
continue-on-error: ${{ matrix.php-version == '8.2' }}
steps:
- uses: actions/checkout@v3
- uses: './.github/actions/ci-setup'

View file

@ -13,7 +13,8 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php-version: ['8.1']
php-version: ['8.1', '8.2']
continue-on-error: ${{ matrix.php-version == '8.2' }}
steps:
- uses: actions/checkout@v3
- name: Start postgres database server

View file

@ -43,7 +43,8 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
php-version: [ '8.1' ]
php-version: ['8.1', '8.2']
continue-on-error: ${{ matrix.php-version == '8.2' }}
steps:
- uses: actions/checkout@v3
- run: docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d shlink_db_postgres