Merge pull request #8386 from jibees/download-artifact

Archive failed tests screenshots
This commit is contained in:
Maikel
2021-10-27 14:03:49 +11:00
committed by GitHub

View File

@@ -68,6 +68,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: