diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2022-11-01 01:51:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 01:51:48 +0300 |
commit | 9cc1473eb8f2f477a99a897c80343efb476f7fb2 (patch) | |
tree | b2d15ff1c45bb8f5cc9f6e3c89629af7592b6363 | |
parent | 84c2d07b7ed8d70fe9b3abd24ac9dd1c5f992546 (diff) | |
parent | 6cbc2f21914d638374c4d2598446555bc56c4cb6 (diff) |
Merge pull request #3084 from nextcloud/enhancement/php8.2-ci
-rw-r--r-- | .github/workflows/phpunit.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index efa45d98..b0243896 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -78,7 +78,7 @@ jobs: # do not stop on another job's failure fail-fast: false matrix: - php-versions: ['7.4', '8.0', '8.1'] + php-versions: ['7.4', '8.0', '8.1', '8.2'] databases: ['mysql'] server-versions: ['master', 'stable25'] @@ -106,6 +106,12 @@ jobs: with: path: apps/${{ env.APP_NAME }} + - name: Patch for nightly PHP + if: ${{ matrix.php-versions == '8.2' }} + run: | + echo "<?php" > lib/versioncheck.php + sed -i 's/max-version="8.1"/max-version="8.2"/' apps/${{ env.APP_NAME }}/appinfo/info.xml + - name: Set up php ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 with: |