@@ -357,16 +357,10 @@ jobs:
357
357
path : data/nextcloud.log
358
358
if-no-files-found : warn
359
359
360
- tests-oci :
360
+ tests-stable27- oci :
361
361
needs : [analysis]
362
362
runs-on : ubuntu-22.04
363
- name : ${{ matrix.nextcloud }} • 🐘${{ matrix.php-version }} • 🐍${{ matrix.python }} • OCI
364
- strategy :
365
- fail-fast : false
366
- matrix :
367
- nextcloud : [ "27.1.4" ]
368
- python : [ "3.11" ]
369
- php-version : [ "8.2" ]
363
+ name : stable27 • 🐘8.1 • 🐍3.11 • OCI
370
364
371
365
services :
372
366
oracle :
@@ -387,28 +381,30 @@ jobs:
387
381
- name : Set up php
388
382
uses : shivammathur/setup-php@v2
389
383
with :
390
- php-version : ${{ matrix.php-version }}
384
+ php-version : ' 8.1 '
391
385
extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, \
392
386
posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, oci8
393
387
394
388
- uses : actions/setup-python@v4
395
389
with :
396
- python-version : ${{ matrix.python }}
390
+ python-version : ' 3.11 '
397
391
398
- - name : cache-nextcloud
399
- id : nextcloud_setup
400
- uses : actions/cache@v3
392
+ - name : Checkout server
393
+ uses : actions/checkout@v4
401
394
with :
402
- path : nextcloud-${{ matrix.nextcloud }}.tar.bz2
403
- key : ${{ matrix.nextcloud }}
395
+ submodules : true
396
+ repository : nextcloud/server
397
+ ref : ' stable27'
404
398
405
- - name : Download Nextcloud
406
- if : steps.nextcloud_setup.outputs.cache-hit != 'true'
407
- run : wget -q https://download.nextcloud.com/server/releases/nextcloud-${{ matrix.nextcloud }}.tar.bz2
399
+ - name : Checkout Notifications
400
+ uses : actions/checkout@v4
401
+ with :
402
+ repository : nextcloud/notifications
403
+ ref : ' stable27'
404
+ path : apps/notifications
408
405
409
406
- name : Set up Nextcloud
410
407
run : |
411
- tar -xjf nextcloud-${{ matrix.nextcloud }}.tar.bz2 --strip-components 1
412
408
mkdir data
413
409
php occ maintenance:install --verbose --database=oci --database-name=XE \
414
410
--database-host=127.0.0.1 --database-port=1521 --database-user=useroracle --database-pass=userpassword \
@@ -457,15 +453,15 @@ jobs:
457
453
- name : HTML coverage to artifacts
458
454
uses : actions/upload-artifact@v3
459
455
with :
460
- name : coverage_oci_${{ matrix.nextcloud }}_${{ matrix.python }}_${{ matrix.php-version }}
456
+ name : coverage_oci_stable27_3.11_8.1
461
457
path : nc_py_api/htmlcov
462
458
if-no-files-found : error
463
459
464
460
- name : Upload report to Codecov
465
461
uses : codecov/codecov-action@v3
466
462
with :
467
463
token : ${{ secrets.CODECOV_TOKEN }}
468
- name : coverage_oci_${{ matrix.nextcloud }}_${{ matrix.python }}_${{ matrix.php-version }}
464
+ name : coverage_oci_stable27_3.11_8.1
469
465
file : coverage.xml
470
466
fail_ci_if_error : true
471
467
verbose : true
@@ -475,7 +471,7 @@ jobs:
475
471
if : always()
476
472
uses : actions/upload-artifact@v3
477
473
with :
478
- name : nc_log_oci_${{ matrix.nextcloud }}_${{ matrix.python }}_${{ matrix.php-version }}
474
+ name : nc_log_oci_stable27_3.11_8.1
479
475
path : data/nextcloud.log
480
476
if-no-files-found : warn
481
477
@@ -931,7 +927,7 @@ jobs:
931
927
permissions :
932
928
contents : none
933
929
runs-on : ubuntu-22.04
934
- needs : [tests-maria, tests-pgsql, tests-oci, tests-latest-maria, test-latest-pgsql, tests-client-sqlite]
930
+ needs : [tests-maria, tests-pgsql, tests-stable27- oci, tests-latest-maria, test-latest-pgsql, tests-client-sqlite]
935
931
name : Tests-OK
936
932
steps :
937
933
- run : echo "Tests passed successfully"
0 commit comments