diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 6807f1c7..015e33b0 100755 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -65,6 +65,18 @@ jobs: with: name: component-visual-regression path: apps/playnite-web/visual-regression-tests + - name: Upload test video artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: component-cypress-videos + path: apps/playnite-web/cypress/videos + - name: Upload test screenshot artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: component-cypress-screenshots + path: apps/playnite-web/cypress/screenshots - uses: codecov/codecov-action@v4 if: always() with: @@ -125,6 +137,18 @@ jobs: with: name: e2e-visual-regression path: apps/playnite-web/visual-regression-tests + - name: Upload test video artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: e2e-cypress-videos + path: apps/playnite-web/cypress/videos + - name: Upload test screenshot artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: e2e-cypress-screenshots + path: apps/playnite-web/cypress/screenshots - uses: codecov/codecov-action@v4 if: always() with: diff --git a/.github/workflows/pull-request-release.yml b/.github/workflows/pull-request-release.yml index 1d59a141..54e9382b 100755 --- a/.github/workflows/pull-request-release.yml +++ b/.github/workflows/pull-request-release.yml @@ -72,6 +72,18 @@ jobs: with: name: component-visual-regression path: apps/playnite-web/visual-regression-tests + - name: Upload test video artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: component-cypress-videos + path: apps/playnite-web/cypress/videos + - name: Upload test screenshot artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: component-cypress-screenshots + path: apps/playnite-web/cypress/screenshots - uses: codecov/codecov-action@v4 if: always() with: @@ -116,6 +128,18 @@ jobs: with: name: e2e-visual-regression path: apps/playnite-web/visual-regression-tests + - name: Upload test video artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: e2e-cypress-videos + path: apps/playnite-web/cypress/videos + - name: Upload test screenshot artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: e2e-cypress-screenshots + path: apps/playnite-web/cypress/screenshots - uses: codecov/codecov-action@v4 if: always() with: diff --git a/.github/workflows/verify-commits.yml b/.github/workflows/verify-commits.yml index 1e779e12..7e488475 100755 --- a/.github/workflows/verify-commits.yml +++ b/.github/workflows/verify-commits.yml @@ -102,6 +102,18 @@ jobs: with: name: component-visual-regression path: apps/playnite-web/visual-regression-tests + - name: Upload test video artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: component-cypress-videos + path: apps/playnite-web/cypress/videos + - name: Upload test screenshot artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: component-cypress-screenshots + path: apps/playnite-web/cypress/screenshots - uses: codecov/codecov-action@v4 if: always() with: @@ -146,6 +158,18 @@ jobs: with: name: e2e-visual-regression path: apps/playnite-web/visual-regression-tests + - name: Upload test video artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: e2e-cypress-videos + path: apps/playnite-web/cypress/videos + - name: Upload test screenshot artifacts + if: ${{ failure() }} + uses: actions/upload-artifact@v4 + with: + name: e2e-cypress-screenshots + path: apps/playnite-web/cypress/screenshots - uses: codecov/codecov-action@v4 if: always() with: