summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cypress.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index ea1a741f574..9a1d34a9213 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -57,7 +57,7 @@ jobs:
fail-fast: false
matrix:
# run multiple copies of the current job in parallel
- containers: ['component', 1, 2]
+ containers: ["component", 1, 2]
name: runner ${{ matrix.containers }}
@@ -91,6 +91,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
+ - name: Extract NC logs
+ if: always()
+ run: docker-compose --project-directory cypress logs > nextcloud.log
+
+ - name: Upload NC logs
+ uses: actions/upload-artifact@v3
+ if: always()
+ with:
+ name: nc_logs_${{ matrix.containers }}
+ path: nextcloud.log
+
summary:
runs-on: ubuntu-latest
needs: [init, cypress]