Add step to keep screenshots of failed system tests

This commit is contained in:
David Heinemeier Hansson 2024-01-01 02:11:00 +01:00
parent 57536e5379
commit a8dcfbde95
1 changed files with 7 additions and 0 deletions

View File

@ -103,3 +103,10 @@ jobs:
<%- end -%>
# REDIS_URL: redis://localhost:6379/0
run: bin/rails db:setup test test:system
- name: Keep screenshots from failed system tests
uses: actions/upload-artifact@v3
if: always()
with:
name: screenshots
path: ${{ github.workspace }}/tmp/screenshots