|
| 1 | +diff --git a/.github/workflows/phpunit-mariadb.yml b/.github/workflows/phpunit-mariadb.yml |
| 2 | +index 5f8501e..8de1fcc 100644 |
| 3 | +--- a/.github/workflows/phpunit-mariadb.yml |
| 4 | ++++ b/.github/workflows/phpunit-mariadb.yml |
| 5 | +@@ -71,6 +71,8 @@ jobs: |
| 6 | + php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }} |
| 7 | + server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }} |
| 8 | + mariadb-versions: ['10.6', '11.4'] |
| 9 | ++ richdocuments-versions: ['stable32'] |
| 10 | ++ groupfolders-versions: ['stable32'] |
| 11 | + |
| 12 | + name: MariaDB ${{ matrix.mariadb-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }} |
| 13 | + |
| 14 | +@@ -104,16 +106,32 @@ jobs: |
| 15 | + persist-credentials: false |
| 16 | + path: apps/${{ env.APP_NAME }} |
| 17 | + |
| 18 | ++ - name: Checkout app (richdocuments) |
| 19 | ++ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 20 | ++ with: |
| 21 | ++ persist-credentials: false |
| 22 | ++ path: apps/richdocuments |
| 23 | ++ repository: nextcloud/richdocuments |
| 24 | ++ ref: ${{ matrix.richdocuments-versions }} |
| 25 | ++ |
| 26 | ++ - name: Checkout app (groupfolders) |
| 27 | ++ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| 28 | ++ with: |
| 29 | ++ persist-credentials: false |
| 30 | ++ path: apps/groupfolders |
| 31 | ++ repository: nextcloud/groupfolders |
| 32 | ++ ref: ${{ matrix.groupfolders-versions }} |
| 33 | ++ |
| 34 | + - name: Set up php ${{ matrix.php-versions }} |
| 35 | + uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0 |
| 36 | + with: |
| 37 | + php-version: ${{ matrix.php-versions }} |
| 38 | + # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation |
| 39 | +- extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql |
| 40 | ++ extensions: apcu, bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql |
| 41 | + coverage: none |
| 42 | + ini-file: development |
| 43 | + # Temporary workaround for missing pcntl_* in PHP 8.3 |
| 44 | +- ini-values: disable_functions= |
| 45 | ++ ini-values: apc.enable_cli=on, disable_functions= |
| 46 | + env: |
| 47 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 48 | + |
| 49 | +@@ -136,6 +154,14 @@ jobs: |
| 50 | + composer remove nextcloud/ocp --dev --no-scripts |
| 51 | + composer i |
| 52 | + |
| 53 | ++ - name: Set up dependencies (richdocuments) |
| 54 | ++ working-directory: apps/richdocuments |
| 55 | ++ run: composer i --no-dev |
| 56 | ++ |
| 57 | ++ - name: Set up dependencies (groupfolders) |
| 58 | ++ working-directory: apps/groupfolders |
| 59 | ++ run: composer i --no-dev |
| 60 | ++ |
| 61 | + - name: Set up Nextcloud |
| 62 | + env: |
| 63 | + DB_PORT: 4444 |
0 commit comments