Browse Source

Upload data dir archive in cypress tests

Signed-off-by: Louis Chemineau <louis@chmn.me>
tags/v27.0.0beta1
Louis Chemineau 1 year ago
parent
commit
4bfdd715c8
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      .github/workflows/cypress.yml

+ 11
- 0
.github/workflows/cypress.yml View File

@@ -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]

Loading…
Cancel
Save