Skip to content

Commit

Permalink
fixup! tmp: record and upload video run
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Jan 3, 2025
1 parent 80ddadb commit e8cb458
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ jobs:
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}

- name: Upload snapshots
- name: Upload videos
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: always()
with:
name: snapshots_${{ matrix.containers }}
path: cypress/snapshots
name: videos_${{ matrix.containers }}
path: cypress/videos

- name: Extract NC logs
if: failure() && matrix.containers != 'component'
Expand All @@ -160,16 +160,16 @@ jobs:
name: nc_logs_${{ matrix.containers }}
path: nextcloud.log

- name: Create cypress dir archive
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-cypress-tests_server tar -cvjf - cypress > cypress.tar
run: docker exec nextcloud-cypress-tests_server tar -cvjf - data > data.tar

- name: Upload cypress dir archive
- name: Upload data dir archive
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: failure() && matrix.containers != 'component'
with:
name: nc_cypress_${{ matrix.containers }}
path: cypress.tar
name: nc_data_${{ matrix.containers }}
path: data.tar

summary:
runs-on: ubuntu-latest-low
Expand Down

0 comments on commit e8cb458

Please sign in to comment.