Skip to content

Commit

Permalink
chore(CI): Adjust testing matrix for Nextcloud 28 on main
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Nov 23, 2023
1 parent 0e0e78f commit ed19626
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ jobs:
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
nextcloud-versions: ['master', 'stable27', 'stable26']
nextcloud-versions: ['master', 'stable28', 'stable27', 'stable26']
include:
- php-versions: '7.4'
nextcloud-versions: 'stable25'
- php-versions: '8.1'
nextcloud-versions: 'stable25'
- php-versions: '8.3'
nextcloud-versions: 'stable28'
- php-versions: '8.3'
nextcloud-versions: 'master'
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
Expand All @@ -29,7 +31,7 @@ jobs:
- 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' }}
if: ${{ matrix.php-versions == '8.4' }}
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=''
Expand Down

0 comments on commit ed19626

Please sign in to comment.