From 28b3cb795f3b83caed41cda87bd00927b494e4c5 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Wed, 22 Mar 2023 18:57:48 +0100 Subject: [PATCH] Extract logs only for e2e testing Signed-off-by: Louis Chemineau --- .github/workflows/cypress.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 9a1d34a9213..e7967d45afd 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -92,12 +92,12 @@ jobs: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - name: Extract NC logs - if: always() - run: docker-compose --project-directory cypress logs > nextcloud.log + if: ${{ matrix.containers != 'component' }} + run: docker logs nextcloud-cypress-tests-server > nextcloud.log - name: Upload NC logs uses: actions/upload-artifact@v3 - if: always() + if: ${{ matrix.containers != 'component' }} with: name: nc_logs_${{ matrix.containers }} path: nextcloud.log -- 2.39.5