@@ -11,20 +11,20 @@ jobs:
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- php-versions : ["8.1", "8.2", "8.3", "8.4"]
15- nextcloud-versions : ["stable32", "stable31", "stable30", "stable29"]
16- name : Nextcloud ${{ matrix.nextcloud-versions }} php${{ matrix.php-versions }} unit tests
14+ php-version : ["8.1", "8.2", "8.3", "8.4"]
15+ nextcloud-version : ["stable32", "stable31", "stable30", "stable29"]
16+ name : Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }} unit tests
1717 steps :
18- - name : Set up php${{ matrix.php-versions }}
18+ - name : Set up php${{ matrix.php-version }}
1919 uses : shivammathur/setup-php@v2
2020 with :
21- php-version : ${{ matrix.php-versions }}
21+ php-version : ${{ matrix.php-version }}
2222 extensions : ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip,gmp
2323 coverage : xdebug
2424 - name : Checkout Nextcloud
25- run : git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b ${{ matrix.nextcloud-versions }} nextcloud
25+ run : git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b ${{ matrix.nextcloud-version }} nextcloud
2626 # - name: Patch version check for nightly PHP
27- # if: ${{ matrix.php-versions == '8.2' }}
27+ # if: ${{ matrix.php-version == '8.2' }}
2828 # run: echo "<?php" > nextcloud/lib/versioncheck.php
2929 - name : Install Nextcloud
3030 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=''
@@ -40,12 +40,12 @@ jobs:
4040 - name : Run tests
4141 working-directory : nextcloud/apps/qownnotesapi
4242 run : composer test-coverage
43- if : ${{ matrix.php-versions == '8.3' }}
43+ if : ${{ matrix.php-version == '8.3' }}
4444 env :
4545 XDEBUG_MODE : coverage
4646# - name: Report coverage
474748- # if: ${{ always() && matrix.php-versions == '8.0' }}
48+ # if: ${{ always() && matrix.php-version == '8.0' }}
4949# with:
5050# file: ./nextcloud/apps/qownnotesapi/tests/clover.unit.xml
5151# flags: unittests
0 commit comments