chore: cypress set up tweaks (#31926)

This commit is contained in:
Maxime Beauchemin
2025-01-21 12:06:19 -08:00
committed by GitHub
parent a02a2f5a96
commit dfb9af36df
4 changed files with 22 additions and 11 deletions

View File

@@ -138,7 +138,7 @@ jobs:
run: cypress-run-all ${{ env.USE_DASHBOARD }}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
if: github.event_name == 'workflow_dispatch' && (steps.check.outputs.python || steps.check.outputs.frontend)
if: failure()
with:
path: ${{ github.workspace }}/superset-frontend/cypress-base/cypress/screenshots
name: cypress-artifact-${{ github.run_id }}-${{ github.job }}