mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Upload data dir archive in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
9d9934fd84
commit
f057682da4
1 changed files with 11 additions and 0 deletions
11
.github/workflows/cypress.yml
vendored
11
.github/workflows/cypress.yml
vendored
|
|
@ -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…
Reference in a new issue