Skip to content

Commit

Permalink
upload all test artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes committed Nov 26, 2024
1 parent 316495d commit 0ae8e4a
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/pull-request-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/verify-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0ae8e4a

Please sign in to comment.