aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cypress.yml
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-22 18:57:48 +0100
committerLouis Chemineau <louis@chmn.me>2023-03-30 10:09:14 +0200
commitb7afd644fab624bd75ae647e992df9cb1f63a885 (patch)
treeff024413ccb35f465da950166a85b6ca8899a3af /.github/workflows/cypress.yml
parentf882446f38febbddb184abe37c25d9aba4e0e72f (diff)
downloadnextcloud-server-b7afd644fab624bd75ae647e992df9cb1f63a885.tar.gz
nextcloud-server-b7afd644fab624bd75ae647e992df9cb1f63a885.zip
Extract logs only for e2e testing
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github/workflows/cypress.yml')
-rw-r--r--.github/workflows/cypress.yml6
1 files 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