Archive failed tests screenshots

This commit is contained in:
Jean-Baptiste Bellet
2021-10-20 10:36:35 +02:00
parent 29c2f2e5e9
commit 665566c28c

View File

@@ -69,6 +69,15 @@ jobs:
- name: Run controller tests
run: bundle exec rspec --profile -- ${{ matrix.specs }}
- name: Archive failed tests screenshots
if: failure()
uses: actions/upload-artifact@v2
with:
name: failed-tests-screenshots
path: tmp/capybara/screenshots/*.png
retention-days: 7
if-no-files-found: ignore
test-the-rest:
runs-on: ubuntu-18.04
services: