|
|
|
|
@ -121,7 +121,7 @@ jobs:
|
|
|
|
|
run: ./node_modules/cypress/bin/cypress install
|
|
|
|
|
|
|
|
|
|
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
|
|
|
|
|
uses: cypress-io/github-action@7271bed2a170d73c0b08939cd192db51a1c46c50 # v6.7.10
|
|
|
|
|
uses: cypress-io/github-action@9c318d4f950c2f0ff2e96fa4dc4279e5706efd8e # v6.7.14
|
|
|
|
|
with:
|
|
|
|
|
# We already installed the dependencies in the init job
|
|
|
|
|
install: false
|
|
|
|
|
@ -143,7 +143,7 @@ jobs:
|
|
|
|
|
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
|
|
|
|
|
|
|
|
|
|
- name: Upload snapshots and videos
|
|
|
|
|
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
|
|
|
|
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
|
|
|
if: always()
|
|
|
|
|
with:
|
|
|
|
|
name: snapshots_videos_${{ matrix.containers }}
|
|
|
|
|
@ -156,7 +156,7 @@ jobs:
|
|
|
|
|
run: docker logs nextcloud-cypress-tests_${{ env.APP_NAME }} > nextcloud.log
|
|
|
|
|
|
|
|
|
|
- name: Upload NC logs
|
|
|
|
|
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
|
|
|
|
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
|
|
|
if: failure() && matrix.containers != 'component'
|
|
|
|
|
with:
|
|
|
|
|
name: nc_logs_${{ matrix.containers }}
|
|
|
|
|
@ -167,7 +167,7 @@ jobs:
|
|
|
|
|
run: docker exec nextcloud-cypress-tests_${{ env.APP_NAME }} tar -cvjf - data > data.tar
|
|
|
|
|
|
|
|
|
|
- name: Upload data dir archive
|
|
|
|
|
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
|
|
|
|
|
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
|
|
|
|
|
if: failure() && matrix.containers != 'component'
|
|
|
|
|
with:
|
|
|
|
|
name: nc_data_${{ matrix.containers }}
|
|
|
|
|
|