2525 server-max : ${{ steps.versions.outputs.branches-max-list }}
2626 steps :
2727 - name : Checkout app
28- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2929 with :
3030 persist-credentials : false
3131
@@ -71,28 +71,27 @@ jobs:
7171 php-versions : ${{ fromJson(needs.matrix.outputs.php-version) }}
7272 server-versions : ${{ fromJson(needs.matrix.outputs.server-max) }}
7373 richdocuments-versions : ['stable32']
74+ oci-versions : ['18', '21', '23']
7475
75- name : OCI PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
76+ name : OCI ${{ matrix.oci-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
7677
7778 services :
7879 oracle :
79- image : ghcr.io/gvenzl/oracle-xe:11
80+ image : ghcr.io/gvenzl/oracle-${{ matrix.oci-versions < 23 && 'xe' || 'free' }}:${{ matrix.oci-versions }}
8081
8182 # Provide passwords and other environment variables to container
8283 env :
83- ORACLE_RANDOM_PASSWORD : true
84- APP_USER : autotest
85- APP_USER_PASSWORD : owncloud
84+ ORACLE_PASSWORD : oracle
8685
8786 # Forward Oracle port
8887 ports :
89- - 1521:1521/tcp
88+ - 1521:1521
9089
9190 # Provide healthcheck script options for startup
9291 options : >-
9392 --health-cmd healthcheck.sh
94- --health-interval 10s
95- --health-timeout 5s
93+ --health-interval 20s
94+ --health-timeout 10s
9695 --health-retries 10
9796
9897 steps :
@@ -103,29 +102,29 @@ jobs:
103102 echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
104103
105104 - name : Checkout server
106- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
105+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
107106 with :
108107 persist-credentials : false
109108 submodules : true
110109 repository : nextcloud/server
111110 ref : ${{ matrix.server-versions }}
112111
113112 - name : Checkout app
114- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
113+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
115114 with :
116115 persist-credentials : false
117116 path : apps/${{ env.APP_NAME }}
118117
119118 - name : Checkout app (richdocuments)
120- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
119+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
121120 with :
122121 persist-credentials : false
123122 path : apps/richdocuments
124123 repository : nextcloud/richdocuments
125124 ref : ${{ matrix.richdocuments-versions }}
126125
127126 - name : Set up php ${{ matrix.php-versions }}
128- uses : shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e # v2.34.1
127+ uses : shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
129128 with :
130129 php-version : ${{ matrix.php-versions }}
131130 # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -160,7 +159,7 @@ jobs:
160159 DB_PORT : 1521
161160 run : |
162161 mkdir data
163- ./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass admin
162+ ./occ maintenance:install --verbose --database=oci --database-name=${{ matrix.oci-versions < 23 && 'XE' || 'FREE' }} --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=system --database-pass=oracle --admin-user admin --admin-pass admin
164163 ./occ app:enable --force ${{ env.APP_NAME }}
165164
166165 - name : Check PHPUnit script is defined
0 commit comments