Skip to content

Commit

Permalink
[WIP] More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning committed Dec 15, 2023
1 parent 79e9982 commit 7126c41
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/dusk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ jobs:
- name: Execute tests
run: composer run dusk:test

- name: Dump docker logs
if: failure()
uses: jwalton/gh-docker-logs@v2
with:
dest: './docker-logs'
- name: Dump magento logs
if: failure()
run: |
mkdir -p magento/var/log
docker cp ${{ job.services.magento.id }}:/data/var/log magento/var/log
- name: Upload Artifact
if: failure()
uses: actions/upload-artifact@v2
Expand All @@ -74,3 +84,5 @@ jobs:
tests/Browser/screenshots
tests/Browser/console
vendor/orchestra/testbench-dusk/laravel/storage/logs/laravel.log
docker-logs
magento/var/log

0 comments on commit 7126c41

Please sign in to comment.