summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-22 18:57:48 +0100
committerLouis Chemineau <louis@chmn.me>2023-04-05 11:51:45 +0200
commit28b3cb795f3b83caed41cda87bd00927b494e4c5 (patch)
treea1f15675304f2c799a0b3e0fe39d9a86814b1f13 /.github
parent63f872c516e27a29b66cbc57ec7dcaf8d024709d (diff)
downloadnextcloud-server-28b3cb795f3b83caed41cda87bd00927b494e4c5.tar.gz
nextcloud-server-28b3cb795f3b83caed41cda87bd00927b494e4c5.zip
Extract logs only for e2e testing
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github')
-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