diff options
author | Anna <anna@nextcloud.com> | 2022-10-31 17:41:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 17:41:59 +0300 |
commit | db492b541646a4e4d9f8caaee1242b633f9fe9c0 (patch) | |
tree | 74c0ae0f1255a2ad868c830c2b1a688f3bb8057b | |
parent | 9efe190f72ed99d86c1e6842240a85c704c87015 (diff) | |
parent | ceeefbcf382d2f97abd666b3a1bf4f7e36aa8f80 (diff) |
Merge pull request #4708 from nextcloud/enhancement/php8.2-test-ci
Include PHP8.2 in CI test matrix
-rw-r--r-- | .github/workflows/php-test.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index c6823e8d..5111e834 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -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 |