diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4e5d5dc8..862c2a18 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -74,6 +74,14 @@ jobs: with: path: apps/${{ env.APP_NAME }} + - name: Checkout Notes + uses: actions/checkout@v4 + if: ${{ !startsWith(matrix.server-version, 'master') }} + with: + repository: nextcloud/notes + ref: "main" + path: apps/notes + - name: Set up php ${{ matrix.php-version }} uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2 with: @@ -106,6 +114,10 @@ jobs: ./occ app:enable notifications ./occ app:enable --force ${{ env.APP_NAME }} + - name: Enable Notes + if: ${{ !startsWith(matrix.server-version, 'master') }} + run: ./occ app:enable notes + - name: Run Nextcloud run: PHP_CLI_SERVER_WORKERS=2 php -S 127.0.0.1:8080 &