2626 steps :
2727 - name : Checkout app
2828 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+ with :
30+ persist-credentials : false
2931
3032 - name : Get version matrix
3133 id : versions
@@ -68,35 +70,38 @@ jobs:
6870 matrix :
6971 php-versions : ${{ fromJson(needs.matrix.outputs.php-version) }}
7072 server-versions : ${{ fromJson(needs.matrix.outputs.server-max) }}
71- mariadb-versions : ['10.6', '10.11 ']
73+ mariadb-versions : ['10.6', '11.4 ']
7274
7375 name : MariaDB ${{ matrix.mariadb-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
7476
7577 services :
7678 mariadb :
77- image : ghcr.io/nextcloud/continuous-integration-mariadb-${{ matrix.mariadb-versions }}:latest
79+ image : ghcr.io/nextcloud/continuous-integration-mariadb-${{ matrix.mariadb-versions }}:latest # zizmor: ignore[unpinned-images]
7880 ports :
7981 - 4444:3306/tcp
8082 env :
81- MYSQL_ROOT_PASSWORD : rootpassword
82- options : --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
83+ MARIADB_ROOT_PASSWORD : rootpassword
84+ options : --health-cmd="mariadb-admin ping" --health-interval 5s --health-timeout 2s --health-retries 5
8385
8486 steps :
8587 - name : Set app env
88+ if : ${{ env.APP_NAME == '' }}
8689 run : |
8790 # Split and keep last
8891 echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
8992
9093 - name : Checkout server
9194 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9295 with :
96+ persist-credentials : false
9397 submodules : true
9498 repository : nextcloud/server
9599 ref : ${{ matrix.server-versions }}
96100
97101 - name : Checkout app
98102 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99103 with :
104+ persist-credentials : false
100105 path : apps/${{ env.APP_NAME }}
101106
102107 - name : Checkout teams dependency
@@ -114,6 +119,8 @@ jobs:
114119 extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
115120 coverage : none
116121 ini-file : development
122+ # Temporary workaround for missing pcntl_* in PHP 8.3
123+ ini-values : disable_functions=
117124 env :
118125 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119126
@@ -132,7 +139,9 @@ jobs:
132139 # Only run if phpunit config file exists
133140 if : steps.check_composer.outputs.files_exists == 'true'
134141 working-directory : apps/${{ env.APP_NAME }}
135- run : composer i
142+ run : |
143+ composer remove nextcloud/ocp --dev --no-scripts
144+ composer i
136145
137146 - name : Set up Nextcloud
138147 env :
0 commit comments