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
@@ -72,27 +72,25 @@ jobs:
7272 server-versions : ${{ fromJson(needs.matrix.outputs.server-max) }}
7373 richdocuments-versions : ['stable31']
7474
75- name : OCI PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
75+ name : OCI ${{ matrix.oci-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }}
7676
7777 services :
7878 oracle :
79- image : ghcr.io/gvenzl/oracle-xe:11
79+ image : ghcr.io/gvenzl/oracle-${{ matrix.oci-versions < 23 && 'xe' || 'free' }}:${{ matrix.oci-versions }}
8080
8181 # Provide passwords and other environment variables to container
8282 env :
83- ORACLE_RANDOM_PASSWORD : true
84- APP_USER : autotest
85- APP_USER_PASSWORD : owncloud
83+ ORACLE_PASSWORD : oracle
8684
8785 # Forward Oracle port
8886 ports :
89- - 1521:1521/tcp
87+ - 1521:1521
9088
9189 # Provide healthcheck script options for startup
9290 options : >-
9391 --health-cmd healthcheck.sh
94- --health-interval 10s
95- --health-timeout 5s
92+ --health-interval 20s
93+ --health-timeout 10s
9694 --health-retries 10
9795
9896 steps :
@@ -102,21 +100,21 @@ jobs:
102100 echo "APP_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
103101
104102 - name : Checkout server
105- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
103+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
106104 with :
107105 persist-credentials : false
108106 submodules : true
109107 repository : nextcloud/server
110108 ref : ${{ matrix.server-versions }}
111109
112110 - name : Checkout app
113- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
111+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
114112 with :
115113 persist-credentials : false
116114 path : apps/${{ env.APP_NAME }}
117115
118116 - name : Checkout app (richdocuments)
119- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
117+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
120118 with :
121119 persist-credentials : false
122120 path : apps/richdocuments
@@ -159,7 +157,7 @@ jobs:
159157 DB_PORT : 1521
160158 run : |
161159 mkdir data
162- ./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
160+ ./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
163161 ./occ app:enable --force ${{ env.APP_NAME }}
164162
165163 - name : Check PHPUnit script is defined
0 commit comments