aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cypress.yml
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2023-03-28 13:18:49 +0200
committerLouis Chemineau <louis@chmn.me>2023-03-30 10:09:14 +0200
commit4bfdd715c8346d90f5f1bcbf6925a3fc7d1c187a (patch)
tree94b7b4ec9ae780d1510f949c8bdaa7582cba91e5 /.github/workflows/cypress.yml
parentea028a1b01006db484e1acb021abe94b112cd361 (diff)
downloadnextcloud-server-4bfdd715c8346d90f5f1bcbf6925a3fc7d1c187a.tar.gz
nextcloud-server-4bfdd715c8346d90f5f1bcbf6925a3fc7d1c187a.zip
Upload data dir archive in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to '.github/workflows/cypress.yml')
-rw-r--r--.github/workflows/cypress.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml
index 0967583ed2a..d5e3e8ce698 100644
--- a/.github/workflows/cypress.yml
+++ b/.github/workflows/cypress.yml
@@ -102,6 +102,17 @@ jobs:
name: nc_logs_${{ matrix.containers }}
path: nextcloud.log
+ - name: Create data dir archive
+ if: ( success() || failure() ) && matrix.containers != 'component'
+ run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
+
+ - name: Upload data dir archive
+ uses: actions/upload-artifact@v3
+ if: ( success() || failure() ) && matrix.containers != 'component'
+ with:
+ name: nc_data_${{ matrix.containers }}
+ path: data.tar
+
summary:
runs-on: ubuntu-latest
needs: [init, cypress]