kopia lustrzana https://github.com/nextcloud/social
Merge pull request #1804 from nextcloud/feat/workflow-auto-update-cypress.yml
Updating cypress.yml workflow from templatestyle(noid/materialSymbols
commit
52943727f9
|
@ -110,7 +110,7 @@ jobs:
|
||||||
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
|
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
|
||||||
|
|
||||||
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
|
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
|
||||||
uses: cypress-io/github-action@df7484c5ba85def7eef30db301afa688187bc378 # v6.7.2
|
uses: cypress-io/github-action@496e7dc0edc421a9de8a36a31c793340e00c61bf # v6.7.5
|
||||||
with:
|
with:
|
||||||
record: ${{ secrets.CYPRESS_RECORD_KEY && true }}
|
record: ${{ secrets.CYPRESS_RECORD_KEY && true }}
|
||||||
parallel: ${{ secrets.CYPRESS_RECORD_KEY && true }}
|
parallel: ${{ secrets.CYPRESS_RECORD_KEY && true }}
|
||||||
|
@ -133,7 +133,7 @@ jobs:
|
||||||
CYPRESS_GROUP: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
|
CYPRESS_GROUP: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
|
||||||
|
|
||||||
- name: Upload snapshots
|
- name: Upload snapshots
|
||||||
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
|
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: snapshots_${{ matrix.containers }}
|
name: snapshots_${{ matrix.containers }}
|
||||||
|
@ -144,7 +144,7 @@ jobs:
|
||||||
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
|
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
|
||||||
|
|
||||||
- name: Upload NC logs
|
- name: Upload NC logs
|
||||||
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
|
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
||||||
if: failure() && matrix.containers != 'component'
|
if: failure() && matrix.containers != 'component'
|
||||||
with:
|
with:
|
||||||
name: nc_logs_${{ matrix.containers }}
|
name: nc_logs_${{ matrix.containers }}
|
||||||
|
@ -161,3 +161,4 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Summary status
|
- name: Summary status
|
||||||
run: if ${{ needs.init.result != 'success' || ( needs.cypress.result != 'success' && needs.cypress.result != 'skipped' ) }}; then exit 1; fi
|
run: if ${{ needs.init.result != 'success' || ( needs.cypress.result != 'success' && needs.cypress.result != 'skipped' ) }}; then exit 1; fi
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue