Skip to content

Commit

Permalink
Upload data dir archive in cypress tests
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Mar 28, 2023
1 parent 4aca6f1 commit f6084c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit f6084c9

Please sign in to comment.