Skip to content

Commit

Permalink
unpack screenshots to specific directory, store jest video in video dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kcpevey committed Jan 10, 2024
1 parent d9c52f5 commit d3c65ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/push_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
if_no_artifact_found: fail
# artifact name
name: 'screenshots'
# directory in which to put the contents of the artifact
path: 'screenshots'

- name: "ls"
run: |
Expand All @@ -78,7 +80,7 @@ jobs:
- name: "Copy images to other repo"
run: |
cd conda-store-repo
cp ../playwright-tests/*.png docusaurus-docs/conda-store-ui/images/.
cp ../screenshots/*.png docusaurus-docs/conda-store-ui/images/.
git config user.name ${{ github.actor }}
git config user.email '${{ github.actor }}@users.noreply.github.com'
git add -A
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: "Start web server and run tests"
shell: bash -el {0}
run: |
yarn run start & pytest --video on --output test-results --screenshots true test/playwright/test_ux.py
yarn run start & pytest --video on --output video --screenshots true test/playwright/test_ux.py
- name: "Upload screenshot artifacts"
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit d3c65ba

Please sign in to comment.