From: Louis Chemineau Date: Wed, 22 Mar 2023 17:57:48 +0000 (+0100) Subject: Extract logs only for e2e testing X-Git-Tag: v26.0.1rc1~20^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=28b3cb795f3b83caed41cda87bd00927b494e4c5;p=nextcloud-server.git Extract logs only for e2e testing Signed-off-by: Louis Chemineau --- 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