|
45 | 45 | strategy: |
46 | 46 | fail-fast: false |
47 | 47 | matrix: |
48 | | - nextcloud: [ "26.0.4" ] |
| 48 | + nextcloud: [ "26.0.5" ] |
49 | 49 | python: [ "3.9" ] |
50 | 50 | php-version: [ "8.1" ] |
51 | 51 | include: |
|
78 | 78 | with: |
79 | 79 | python-version: ${{ matrix.python }} |
80 | 80 |
|
| 81 | + - name: Stable26 |
| 82 | + if: ${{ startsWith(matrix.nextcloud, '26.') }} |
| 83 | + run: echo "NC_BRANCH_NAME=stable26" >> $GITHUB_ENV |
| 84 | + |
| 85 | + - name: Stable27 |
| 86 | + if: ${{ startsWith(matrix.nextcloud, '27.') }} |
| 87 | + run: echo "NC_BRANCH_NAME=stable27" >> $GITHUB_ENV |
| 88 | + |
81 | 89 | - name: cache-nextcloud |
82 | 90 | id: nextcloud_setup |
83 | 91 | uses: actions/cache@v3 |
@@ -133,6 +141,23 @@ jobs: |
133 | 141 | kill -15 $(cat /tmp/_install.pid) |
134 | 142 | timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null |
135 | 143 |
|
| 144 | + - name: Checkout Talk |
| 145 | + uses: actions/checkout@v3 |
| 146 | + with: |
| 147 | + path: apps/spreed |
| 148 | + repository: nextcloud/spreed |
| 149 | + ref: ${{ env.NC_BRANCH_NAME }} |
| 150 | + |
| 151 | + - name: Install Talk |
| 152 | + working-directory: apps/spreed |
| 153 | + run: | |
| 154 | + make dev-setup |
| 155 | + make build-js |
| 156 | +
|
| 157 | + - name: Enable Talk |
| 158 | + if: ${{ !startsWith(matrix.nextcloud, '27.') }} # for some reason, currently Talk fails with 27.0.2 |
| 159 | + run: php occ app:enable spreed |
| 160 | + |
136 | 161 | - name: Generate coverage report |
137 | 162 | working-directory: nc_py_api |
138 | 163 | run: coverage run --data-file=.coverage.ci -m pytest && coverage combine && coverage xml && coverage html |
@@ -169,7 +194,7 @@ jobs: |
169 | 194 | strategy: |
170 | 195 | fail-fast: false |
171 | 196 | matrix: |
172 | | - nextcloud: [ "26.0.4" ] |
| 197 | + nextcloud: [ "26.0.5" ] |
173 | 198 | python: [ "3.11" ] |
174 | 199 | php-version: [ "8.1" ] |
175 | 200 | include: |
@@ -205,6 +230,14 @@ jobs: |
205 | 230 | with: |
206 | 231 | python-version: ${{ matrix.python }} |
207 | 232 |
|
| 233 | + - name: Stable26 |
| 234 | + if: ${{ startsWith(matrix.nextcloud, '26.') }} |
| 235 | + run: echo "NC_BRANCH_NAME=stable26" >> $GITHUB_ENV |
| 236 | + |
| 237 | + - name: Stable27 |
| 238 | + if: ${{ startsWith(matrix.nextcloud, '27.') }} |
| 239 | + run: echo "NC_BRANCH_NAME=stable27" >> $GITHUB_ENV |
| 240 | + |
208 | 241 | - name: cache-nextcloud |
209 | 242 | id: nextcloud_setup |
210 | 243 | uses: actions/cache@v3 |
@@ -262,6 +295,23 @@ jobs: |
262 | 295 | kill -15 $(cat /tmp/_install.pid) |
263 | 296 | timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null |
264 | 297 |
|
| 298 | + - name: Checkout Talk |
| 299 | + uses: actions/checkout@v3 |
| 300 | + with: |
| 301 | + path: apps/spreed |
| 302 | + repository: nextcloud/spreed |
| 303 | + ref: ${{ env.NC_BRANCH_NAME }} |
| 304 | + |
| 305 | + - name: Install Talk |
| 306 | + working-directory: apps/spreed |
| 307 | + run: | |
| 308 | + make dev-setup |
| 309 | + make build-js |
| 310 | +
|
| 311 | + - name: Enable Talk |
| 312 | + if: ${{ !startsWith(matrix.nextcloud, '27.') }} # for some reason, currently Talk fails with 27.0.2 |
| 313 | + run: php occ app:enable spreed |
| 314 | + |
265 | 315 | - name: Generate coverage report |
266 | 316 | working-directory: nc_py_api |
267 | 317 | run: coverage run --data-file=.coverage.ci -m pytest && coverage combine && coverage xml && coverage html |
@@ -504,6 +554,21 @@ jobs: |
504 | 554 | kill -15 $(cat /tmp/_install.pid) |
505 | 555 | timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null |
506 | 556 |
|
| 557 | + - name: Checkout Talk |
| 558 | + uses: actions/checkout@v3 |
| 559 | + with: |
| 560 | + path: apps/spreed |
| 561 | + repository: nextcloud/spreed |
| 562 | + |
| 563 | + - name: Install Talk |
| 564 | + working-directory: apps/spreed |
| 565 | + run: | |
| 566 | + make dev-setup |
| 567 | + make build-js |
| 568 | +
|
| 569 | + - name: Enable Talk |
| 570 | + run: php occ app:enable spreed |
| 571 | + |
507 | 572 | - name: Generate coverage report |
508 | 573 | working-directory: nc_py_api |
509 | 574 | run: coverage run --data-file=.coverage.ci -m pytest && coverage combine && coverage xml && coverage html |
@@ -603,6 +668,21 @@ jobs: |
603 | 668 | working-directory: nc_py_api |
604 | 669 | run: python3 -m pip -v install . pytest coverage pillow |
605 | 670 |
|
| 671 | + - name: Checkout Talk |
| 672 | + uses: actions/checkout@v3 |
| 673 | + with: |
| 674 | + path: apps/spreed |
| 675 | + repository: nextcloud/spreed |
| 676 | + |
| 677 | + - name: Install Talk |
| 678 | + working-directory: apps/spreed |
| 679 | + run: | |
| 680 | + make dev-setup |
| 681 | + make build-js |
| 682 | +
|
| 683 | + - name: Enable Talk |
| 684 | + run: php occ app:enable spreed |
| 685 | + |
606 | 686 | - name: Generate coverage report |
607 | 687 | working-directory: nc_py_api |
608 | 688 | run: coverage run -m pytest && coverage xml && coverage html |
@@ -719,6 +799,22 @@ jobs: |
719 | 799 | kill -15 $(cat /tmp/_install.pid) |
720 | 800 | timeout 3m tail --pid=$(cat /tmp/_install.pid) -f /dev/null |
721 | 801 |
|
| 802 | + - name: Checkout Talk |
| 803 | + uses: actions/checkout@v3 |
| 804 | + with: |
| 805 | + path: apps/spreed |
| 806 | + repository: nextcloud/spreed |
| 807 | + ref: ${{ matrix.nextcloud }} |
| 808 | + |
| 809 | + - name: Install Talk |
| 810 | + working-directory: apps/spreed |
| 811 | + run: | |
| 812 | + make dev-setup |
| 813 | + make build-js |
| 814 | +
|
| 815 | + - name: Enable Talk |
| 816 | + run: php occ app:enable spreed |
| 817 | + |
722 | 818 | - name: Generate coverage report |
723 | 819 | working-directory: nc_py_api |
724 | 820 | run: coverage run --data-file=.coverage.ci -m pytest && coverage combine && coverage xml && coverage html |
|
0 commit comments