Add PHP8.1 support
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
e4e5217fa2
commit
eda1e721c4
|
@ -17,7 +17,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php-versions: ["7.4", "8.0"]
|
||||
php-versions: ["7.4", "8.0", "8.1"]
|
||||
|
||||
name: php-lint
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
path: apps/${{ env.APP_NAME }}
|
||||
|
||||
- name: Set up php ${{ matrix.php-versions }}
|
||||
uses: shivammathur/setup-php@v1
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
tools: phpunit
|
||||
|
@ -82,8 +82,9 @@ jobs:
|
|||
databases: ['mysql']
|
||||
server-versions: ['stable21', 'stable22', 'stable23', 'master']
|
||||
include:
|
||||
- php-versions: 7.4
|
||||
server-versions: stable23
|
||||
- php-versions: '8.1'
|
||||
databases: 'mysql'
|
||||
server-versions: master
|
||||
|
||||
name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
|
||||
|
||||
|
@ -110,7 +111,7 @@ jobs:
|
|||
path: apps/${{ env.APP_NAME }}
|
||||
|
||||
- name: Set up php ${{ matrix.php-versions }}
|
||||
uses: shivammathur/setup-php@v1
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
tools: phpunit
|
||||
|
@ -176,7 +177,7 @@ jobs:
|
|||
path: apps/${{ env.APP_NAME }}
|
||||
|
||||
- name: Set up php ${{ matrix.php-versions }}
|
||||
uses: shivammathur/setup-php@v1
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
tools: phpunit
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<screenshot>https://raw.githubusercontent.com/nextcloud/screenshots/main/apps/Contacts/contacts.png</screenshot>
|
||||
|
||||
<dependencies>
|
||||
<php min-version="7.3" max-version="8.0" />
|
||||
<php min-version="7.3" max-version="8.1" />
|
||||
<nextcloud min-version="21" max-version="24" />
|
||||
</dependencies>
|
||||
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
|
||||
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.3 <=8.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"christophwurst/nextcloud_testing": "^0.12.4",
|
||||
"nextcloud/coding-standard": "^0.5.0",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "b5a4281028c39a616597c799ed0b4d9d",
|
||||
"content-hash": "dba5bbe3402206e45570ddf832c2c0d5",
|
||||
"packages": [],
|
||||
"packages-dev": [
|
||||
{
|
||||
|
@ -4220,10 +4220,12 @@
|
|||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform": {
|
||||
"php": ">=7.3 <=8.1"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"platform-overrides": {
|
||||
"php": "7.3"
|
||||
},
|
||||
"plugin-api-version": "2.1.0"
|
||||
"plugin-api-version": "2.2.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue