@@ -357,16 +357,10 @@ jobs:
357357 path : data/nextcloud.log
358358 if-no-files-found : warn
359359
360- tests-oci :
360+ tests-stable27- oci :
361361 needs : [analysis]
362362 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
370364
371365 services :
372366 oracle :
@@ -387,28 +381,30 @@ jobs:
387381 - name : Set up php
388382 uses : shivammathur/setup-php@v2
389383 with :
390- php-version : ${{ matrix.php-version }}
384+ php-version : ' 8.1 '
391385 extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, \
392386 posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, oci8
393387
394388 - uses : actions/setup-python@v4
395389 with :
396- python-version : ${{ matrix.python }}
390+ python-version : ' 3.11 '
397391
398- - name : cache-nextcloud
399- id : nextcloud_setup
400- uses : actions/cache@v3
392+ - name : Checkout server
393+ uses : actions/checkout@v4
401394 with :
402- path : nextcloud-${{ matrix.nextcloud }}.tar.bz2
403- key : ${{ matrix.nextcloud }}
395+ submodules : true
396+ repository : nextcloud/server
397+ ref : ' stable27'
404398
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
408405
409406 - name : Set up Nextcloud
410407 run : |
411- tar -xjf nextcloud-${{ matrix.nextcloud }}.tar.bz2 --strip-components 1
412408 mkdir data
413409 php occ maintenance:install --verbose --database=oci --database-name=XE \
414410 --database-host=127.0.0.1 --database-port=1521 --database-user=useroracle --database-pass=userpassword \
@@ -457,15 +453,15 @@ jobs:
457453 - name : HTML coverage to artifacts
458454 uses : actions/upload-artifact@v3
459455 with :
460- name : coverage_oci_${{ matrix.nextcloud }}_${{ matrix.python }}_${{ matrix.php-version }}
456+ name : coverage_oci_stable27_3.11_8.1
461457 path : nc_py_api/htmlcov
462458 if-no-files-found : error
463459
464460 - name : Upload report to Codecov
465461 uses : codecov/codecov-action@v3
466462 with :
467463 token : ${{ secrets.CODECOV_TOKEN }}
468- name : coverage_oci_${{ matrix.nextcloud }}_${{ matrix.python }}_${{ matrix.php-version }}
464+ name : coverage_oci_stable27_3.11_8.1
469465 file : coverage.xml
470466 fail_ci_if_error : true
471467 verbose : true
@@ -475,7 +471,7 @@ jobs:
475471 if : always()
476472 uses : actions/upload-artifact@v3
477473 with :
478- name : nc_log_oci_${{ matrix.nextcloud }}_${{ matrix.python }}_${{ matrix.php-version }}
474+ name : nc_log_oci_stable27_3.11_8.1
479475 path : data/nextcloud.log
480476 if-no-files-found : warn
481477
@@ -931,7 +927,7 @@ jobs:
931927 permissions :
932928 contents : none
933929 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]
935931 name : Tests-OK
936932 steps :
937933 - run : echo "Tests passed successfully"
0 commit comments