mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
php: Run on support branches, php84 and phpunit 9.6
This commit is contained in:
parent
092571a17b
commit
8f518e7bab
9
.github/workflows/php.yml
vendored
9
.github/workflows/php.yml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- support/*
|
||||||
- release/*
|
- release/*
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
@ -17,7 +18,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
|
php: ['8.2', '8.3', '8.4']
|
||||||
os: ['ubuntu-latest']
|
os: ['ubuntu-latest']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -46,12 +47,12 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
phpunit-version: 9.5
|
phpunit-version: 9.6
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
|
php: ['8.2', '8.3', '8.4']
|
||||||
os: ['ubuntu-latest']
|
os: ['ubuntu-latest']
|
||||||
include:
|
include:
|
||||||
- php: '7.2'
|
- php: '7.2'
|
||||||
@ -101,7 +102,7 @@ jobs:
|
|||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: |
|
run: |
|
||||||
composer init -n --require mockery/mockery:* --require ipl/i18n:@dev --require ipl/web:@dev
|
composer init -n --require mockery/mockery:* --require ipl/i18n:@dev --require ipl/web:@dev
|
||||||
composer config platform.php 7.2.9
|
composer config platform.php 8.2
|
||||||
composer install -n --no-progress
|
composer install -n --no-progress
|
||||||
git clone --depth 1 --branch snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git vendor/icinga-php-thirdparty
|
git clone --depth 1 --branch snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git vendor/icinga-php-thirdparty
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user