@@ -439,7 +439,7 @@ jobs:
439
439
strategy :
440
440
fail-fast : false
441
441
matrix :
442
- nextcloud : [ 'stable28', 'stable29', 'master ' ]
442
+ nextcloud : [ 'stable28', 'stable29', 'stable30 ' ]
443
443
timeout-minutes : 60
444
444
445
445
services :
@@ -483,15 +483,13 @@ jobs:
483
483
484
484
- name : Checkout Notes
485
485
uses : actions/checkout@v4
486
- if : ${{ !startsWith(matrix.nextcloud, 'master') }}
487
486
with :
488
487
repository : nextcloud/notes
489
488
ref : " main"
490
489
path : apps/notes
491
490
492
491
- name : Checkout Files Locking
493
492
uses : actions/checkout@v4
494
- if : ${{ !startsWith(matrix.nextcloud, 'master') }}
495
493
with :
496
494
repository : nextcloud/files_lock
497
495
ref : ${{ matrix.nextcloud }}
@@ -511,11 +509,9 @@ jobs:
511
509
PHP_CLI_SERVER_WORKERS=2 php -S localhost:8080 &
512
510
513
511
- name : Enable Files Locking
514
- if : ${{ !startsWith(matrix.nextcloud, 'master') }}
515
512
run : ./occ app:enable files_lock
516
513
517
514
- name : Enable Notes
518
- if : ${{ !startsWith(matrix.nextcloud, 'master') }}
519
515
run : ./occ app:enable notes
520
516
521
517
- name : Checkout NcPyApi
@@ -528,19 +524,20 @@ jobs:
528
524
run : python3 -m pip -v install ".[dev]"
529
525
530
526
- name : Checkout AppAPI
531
- if : ${{ matrix.nextcloud != 'master ' }}
527
+ if : ${{ matrix.nextcloud != 'stable30 ' }}
532
528
uses : actions/checkout@v4
533
529
with :
534
530
path : apps/app_api
535
531
repository : nextcloud/app_api
536
532
ref : stable29
537
533
538
534
- name : Checkout AppAPI
539
- if : ${{ matrix.nextcloud == 'master ' }}
535
+ if : ${{ matrix.nextcloud == 'stable30 ' }}
540
536
uses : actions/checkout@v4
541
537
with :
542
538
path : apps/app_api
543
539
repository : nextcloud/app_api
540
+ ref : stable30
544
541
545
542
- name : Install AppAPI
546
543
run : |
@@ -555,20 +552,12 @@ jobs:
555
552
kill -15 $(cat /tmp/_install.pid)
556
553
timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
557
554
558
- - name : Talk Branch Main
559
- if : ${{ startsWith(matrix.nextcloud, 'master') }}
560
- run : echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
561
-
562
- - name : Talk Branch Other
563
- if : ${{ !startsWith(matrix.nextcloud, 'master') }}
564
- run : echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
565
-
566
555
- name : Checkout Talk
567
556
uses : actions/checkout@v4
568
557
with :
569
558
path : apps/spreed
570
559
repository : nextcloud/spreed
571
- ref : ${{ env.TALK_BRANCH_NAME }}
560
+ ref : ${{ matrix.nextcloud }}
572
561
573
562
- name : Install Talk
574
563
working-directory : apps/spreed
@@ -627,7 +616,7 @@ jobs:
627
616
strategy :
628
617
fail-fast : false
629
618
matrix :
630
- nextcloud : [ 'stable28', 'stable29', 'master ' ]
619
+ nextcloud : [ 'stable28', 'stable29', 'stable30 ' ]
631
620
env :
632
621
NC_dbname : nextcloud_abz
633
622
DATABASE_PGSQL : 1
@@ -704,19 +693,20 @@ jobs:
704
693
run : python3 -m pip -v install ".[dev]"
705
694
706
695
- name : Checkout AppAPI
707
- if : ${{ matrix.nextcloud != 'master ' }}
696
+ if : ${{ matrix.nextcloud != 'stable30 ' }}
708
697
uses : actions/checkout@v4
709
698
with :
710
699
path : apps/app_api
711
700
repository : nextcloud/app_api
712
701
ref : stable29
713
702
714
703
- name : Checkout AppAPI
715
- if : ${{ matrix.nextcloud == 'master ' }}
704
+ if : ${{ matrix.nextcloud == 'stable30 ' }}
716
705
uses : actions/checkout@v4
717
706
with :
718
707
path : apps/app_api
719
708
repository : nextcloud/app_api
709
+ ref : stable30
720
710
721
711
- name : Install AppAPI
722
712
run : |
@@ -731,20 +721,12 @@ jobs:
731
721
kill -15 $(cat /tmp/_install.pid)
732
722
timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null
733
723
734
- - name : Talk Branch Main
735
- if : ${{ startsWith(matrix.nextcloud, 'master') }}
736
- run : echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
737
-
738
- - name : Talk Branch Other
739
- if : ${{ !startsWith(matrix.nextcloud, 'master') }}
740
- run : echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
741
-
742
724
- name : Checkout Talk
743
725
uses : actions/checkout@v4
744
726
with :
745
727
path : apps/spreed
746
728
repository : nextcloud/spreed
747
- ref : ${{ env.TALK_BRANCH_NAME }}
729
+ ref : ${{ matrix.nextcloud }}
748
730
749
731
- name : Install Talk
750
732
working-directory : apps/spreed
@@ -808,7 +790,7 @@ jobs:
808
790
strategy :
809
791
fail-fast : false
810
792
matrix :
811
- nextcloud : [ 'stable27', 'stable28', 'stable29', 'master' ]
793
+ nextcloud : [ 'stable27', 'stable28', 'stable29', 'stable30', ' master' ]
812
794
env :
813
795
NEXTCLOUD_URL : " http://localhost:8080/index.php"
814
796
timeout-minutes : 60
@@ -884,28 +866,6 @@ jobs:
884
866
working-directory : nc_py_api
885
867
run : python3 -m pip -v install . pytest pytest-asyncio coverage pillow
886
868
887
- - name : Talk Branch Main
888
- if : ${{ startsWith(matrix.nextcloud, 'master') }}
889
- run : echo "TALK_BRANCH_NAME=main" >> $GITHUB_ENV
890
-
891
- - name : Talk Branch Other
892
- if : ${{ !startsWith(matrix.nextcloud, 'master') }}
893
- run : echo "TALK_BRANCH_NAME=${{ matrix.nextcloud }}" >> $GITHUB_ENV
894
-
895
- - name : Checkout Talk
896
- uses : actions/checkout@v4
897
- with :
898
- path : apps/spreed
899
- repository : nextcloud/spreed
900
- ref : ${{ env.TALK_BRANCH_NAME }}
901
-
902
- - name : Install Talk
903
- working-directory : apps/spreed
904
- run : make dev-setup
905
-
906
- - name : Enable Talk
907
- run : php occ app:enable spreed
908
-
909
869
- name : Generate coverage report
910
870
working-directory : nc_py_api
911
871
run : coverage run -m pytest && coverage xml -o coverage_sqlite_${{ matrix.nextcloud }}_client.xml
0 commit comments