Skip to content

Commit

Permalink
GHA: upload capybara screenshots as test artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Dec 11, 2023
1 parent c95e86c commit e959472
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ jobs:
- name: Run specs (cucumber)
run: docker compose run --rm -e RAILS_ENV=test -e COVERAGE=true -e SELENIUM_URL web bundle exec cucumber

- if: failure()
uses: actions/upload-artifact@v3
with:
name: Screenshots
path: tmp/capybara/
retention-days: 60

- run: cp coverage/.resultset.json resultset.integration_tests.json

- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit e959472

Please sign in to comment.