Skip to content

Commit

Permalink
test: correct example-chrome
Browse files Browse the repository at this point in the history
Make artifacts use correct source paths for upload
Correct headed parameter
  • Loading branch information
MikeMcC399 committed Dec 16, 2022
1 parent b23f22b commit 207ea1f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/example-chrome.yml
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: screenshots-in-electron
path: examples/chrome/cypress/screenshots
path: examples/v9/chrome/cypress/screenshots

- run: npx image-size cypress/screenshots/**/*.png
working-directory: examples/v9/chrome
Expand All @@ -46,12 +46,12 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: screenshots-in-chrome
path: examples/chrome/cypress/screenshots
path: examples/v9/chrome/cypress/screenshots

- uses: actions/upload-artifact@v3
with:
name: video-in-chrome
path: examples/chrome/cypress/videos
path: examples/v9/chrome/cypress/videos

- run: npx image-size cypress/screenshots/**/*.png
working-directory: examples/v9/chrome
Expand All @@ -71,12 +71,12 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: screenshots-in-headed-chrome
path: examples/chrome/cypress/screenshots
path: examples/v9/chrome/cypress/screenshots

- uses: actions/upload-artifact@v3
with:
name: video-in-headed-chrome
path: examples/chrome/cypress/videos
path: examples/v9/chrome/cypress/videos

- run: npx image-size cypress/screenshots/**/*.png
working-directory: examples/v9/chrome
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
# store screenshot captured during the test
- uses: actions/upload-artifact@v3
with:
name: screenshots-in-electron
name: screenshots-in-electron-v10
path: examples/v10/chrome/cypress/screenshots

- run: npx image-size cypress/screenshots/**/*.png
Expand All @@ -120,12 +120,12 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: screenshots-in-chrome
name: screenshots-in-chrome-v10
path: examples/v10/chrome/cypress/screenshots

- uses: actions/upload-artifact@v3
with:
name: video-in-chrome
name: video-in-chrome-v10
path: examples/v10/chrome/cypress/videos

- run: npx image-size cypress/screenshots/**/*.png
Expand All @@ -141,17 +141,17 @@ jobs:
with:
working-directory: examples/v10/chrome
browser: chrome
headless: true
headed: false

- uses: actions/upload-artifact@v3
with:
name: screenshots-in-headless-chrome
name: screenshots-in-headless-chrome-v10
path: examples/v10/chrome/cypress/screenshots

- uses: actions/upload-artifact@v3
with:
name: video-in-headless-chrome
name: video-in-headless-chrome-v10
path: examples/v10/chrome/cypress/videos

- run: npx image-size cypress/screenshots/**/*.png
working-directory: examples/v10/chrome
working-directory: examples/v10/chrome

0 comments on commit 207ea1f

Please sign in to comment.