From e8cb4587152c946887bb06cd55b735aeee2a2b84 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Fri, 3 Jan 2025 09:49:38 +0100 Subject: [PATCH] fixup! tmp: record and upload video run Signed-off-by: skjnldsv --- .github/workflows/cypress.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index adf0defe5fd5d..95530f85590f5 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -142,12 +142,12 @@ jobs: SPLIT: ${{ matrix.total-containers }} SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }} - - name: Upload snapshots + - name: Upload videos uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 if: always() with: - name: snapshots_${{ matrix.containers }} - path: cypress/snapshots + name: videos_${{ matrix.containers }} + path: cypress/videos - name: Extract NC logs if: failure() && matrix.containers != 'component' @@ -160,16 +160,16 @@ jobs: name: nc_logs_${{ matrix.containers }} path: nextcloud.log - - name: Create cypress dir archive + - name: Create data dir archive if: failure() && matrix.containers != 'component' - run: docker exec nextcloud-cypress-tests_server tar -cvjf - cypress > cypress.tar + run: docker exec nextcloud-cypress-tests_server tar -cvjf - data > data.tar - - name: Upload cypress dir archive + - name: Upload data dir archive uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 if: failure() && matrix.containers != 'component' with: - name: nc_cypress_${{ matrix.containers }} - path: cypress.tar + name: nc_data_${{ matrix.containers }} + path: data.tar summary: runs-on: ubuntu-latest-low