diff options
Diffstat (limited to '.github/workflows/php-test.yml')
-rw-r--r-- | .github/workflows/php-test.yml | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index ec266ef..10c6c23 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -12,13 +12,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ['7.3', '7.4'] - nextcloud-versions: ['stable20', 'stable21'] - include: - - php-versions: '7.2' - nextcloud-versions: 'stable20' - - php-versions: '8.0' - nextcloud-versions: 'stable21' + php-versions: ['7.3', '7.4', '8.0'] + nextcloud-versions: ['stable22', 'stable23'] name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests env: CI: true @@ -41,14 +36,6 @@ jobs: - name: Remove OCP working-directory: nextcloud/apps/ojsxc run: composer remove --no-update --dev christophwurst/nextcloud - - name: Fix php-parser on stable20 incompatibility with phpunit 9.3+ - if: ${{ matrix.nextcloud-versions == 'stable20' }} - working-directory: nextcloud/3rdparty - run: composer require nikic/php-parser:4.10 - - name: Downgrade phpunit for php7.2 - if: ${{ matrix.php-versions == '7.2' }} - working-directory: nextcloud/apps/ojsxc - run: composer update phpunit/phpunit -W - name: Install dependencies working-directory: nextcloud/apps/ojsxc run: composer install |