Skip to content

Commit 2f15465

Browse files
authored
Merge pull request #838 from nextcloud/fix/oracle-ci-tests
fix(ci): Oracle CI
2 parents b5ad59e + dac4db4 commit 2f15465

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/tests.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -409,18 +409,16 @@ jobs:
409409
name: NC_Py_API • Oracle
410410
services:
411411
oracle:
412-
image: ghcr.io/gvenzl/oracle-xe:11
412+
image: ghcr.io/gvenzl/oracle-xe:21
413413
env:
414-
ORACLE_RANDOM_PASSWORD: true
415-
APP_USER: useroracle
416-
APP_USER_PASSWORD: userpassword
414+
ORACLE_PASSWORD: oracle
417415
options: >-
418416
--health-cmd healthcheck.sh
419-
--health-interval 10s
420-
--health-timeout 5s
417+
--health-interval 20s
418+
--health-timeout 10s
421419
--health-retries 10
422420
ports:
423-
- 1521:1521/tcp
421+
- 1521:1521
424422

425423
steps:
426424
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
@@ -456,8 +454,12 @@ jobs:
456454
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
457455
with:
458456
php-version: '8.3'
459-
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, \
460-
posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, oci8
457+
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, oci8
458+
coverage: none
459+
ini-file: development
460+
ini-values: disable_functions=
461+
env:
462+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
461463

462464
- name: Check composer file existence
463465
id: check_composer
@@ -475,12 +477,10 @@ jobs:
475477
run: composer i --no-dev
476478

477479
- name: Set up Nextcloud
478-
env:
479-
DB_PORT: 4444
480480
run: |
481481
mkdir data
482482
./occ maintenance:install --verbose --database=oci --database-name=XE \
483-
--database-host=127.0.0.1 --database-port=1521 --database-user=useroracle --database-pass=userpassword \
483+
--database-host=127.0.0.1 --database-port=1521 --database-user=system --database-pass=oracle \
484484
--admin-user admin --admin-pass admin
485485
./occ config:system:set ratelimit.protection.enabled --value=false --type=boolean
486486
./occ app:enable --force ${{ env.APP_NAME }}

0 commit comments

Comments
 (0)