From 2b35dc5d079893301f9555112d3a3849ccab8115 Mon Sep 17 00:00:00 2001 From: Jonas Date: Mon, 6 Oct 2025 14:29:55 +0200 Subject: [PATCH] test(cy): Test against server stable31 on stable31 Also always use main branch for assistant app (that doesn't follow the branch strategy of server). Signed-off-by: Jonas --- .github/workflows/cypress-e2e.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cypress-e2e.yml b/.github/workflows/cypress-e2e.yml index e9cbadd03f7..e29dd3888e8 100644 --- a/.github/workflows/cypress-e2e.yml +++ b/.github/workflows/cypress-e2e.yml @@ -23,7 +23,7 @@ jobs: npmVersion: ${{ steps.versions.outputs.npmVersion }} strategy: matrix: - server-versions: ['master'] + server-versions: ['stable31'] steps: - name: Checkout server @@ -40,16 +40,11 @@ jobs: ref: ${{ matrix.server-versions }} path: apps/viewer - - name: Register assistant Git reference - run: | - assistant_app_ref="$(if [ "${{ matrix.server-versions }}" = "master" ]; then echo -n "main"; else echo -n "${{ matrix.server-versions }}"; fi)" - echo "assistant_app_ref=$assistant_app_ref" >> $GITHUB_ENV - - name: Checkout assistant uses: actions/checkout@v4.1.1 with: repository: nextcloud/assistant - ref: '${{ env.assistant_app_ref }}' + ref: main path: apps/assistant - name: Checkout app