Skip to content

Commit

Permalink
Merge pull request #4708 from nextcloud/enhancement/php8.2-test-ci
Browse files Browse the repository at this point in the history
Include PHP8.2 in CI test matrix
  • Loading branch information
miaulalala authored Oct 31, 2022
2 parents 9efe190 + ceeefbc commit db492b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit db492b5

Please sign in to comment.