Include PHP8.2 in CI test matrix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
9efe190f72
commit
ceeefbcf38
|
@ -6,7 +6,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php-versions: ['7.4', '8.0', '8.1']
|
||||
php-versions: ['7.4', '8.0', '8.1', '8.2']
|
||||
nextcloud-versions: ['master', 'stable25']
|
||||
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
|
||||
env:
|
||||
|
@ -21,6 +21,9 @@ jobs:
|
|||
coverage: xdebug
|
||||
- name: Checkout Nextcloud
|
||||
run: git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b ${{ matrix.nextcloud-versions }} nextcloud
|
||||
- name: Patch version check for nightly PHP
|
||||
if: ${{ matrix.php-versions == '8.2' }}
|
||||
run: echo "<?php" > nextcloud/lib/versioncheck.php
|
||||
- name: Install Nextcloud
|
||||
run: php -f nextcloud/occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass=''
|
||||
- name: Checkout the app
|
||||
|
|
Loading…
Reference in New Issue