mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 00:38:46 +03:00
Added PHP 8.2 to build matrixes
This commit is contained in:
parent
70b15a7ab0
commit
62ce9311bf
5 changed files with 12 additions and 5 deletions
5
.github/actions/ci-setup/action.yml
vendored
5
.github/actions/ci-setup/action.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/ci-db-tests.yml
vendored
3
.github/workflows/ci-db-tests.yml
vendored
|
@ -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:
|
||||
|
|
3
.github/workflows/ci-mutation-tests.yml
vendored
3
.github/workflows/ci-mutation-tests.yml
vendored
|
@ -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'
|
||||
|
|
3
.github/workflows/ci-tests.yml
vendored
3
.github/workflows/ci-tests.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue