mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Extract logs only for e2e testing
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
f882446f38
commit
b7afd644fa
1 changed files with 3 additions and 3 deletions
6
.github/workflows/cypress.yml
vendored
6
.github/workflows/cypress.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue