Skip to content

Commit

Permalink
copy screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
michield committed Jan 7, 2024
1 parent 1528af4 commit 505cd26
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ jobs:
cd $GITHUB_WORKSPACE/tests
../vendor/bin/behat -p chrome --tags="~@initialise && ~@wip"
- name: copy screenshots
if: always()
run: |
cd $GITHUB_WORKSPACE
images=$(ls -l /tmp/*.png 2>/dev/null | wc -l)
[[ $images -gt 0 ]] && cp -v /tmp/*.png output/screenshots
exit 0;
- name: Upload the screenshots
if: always()
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 505cd26

Please sign in to comment.