Skip to content

Commit

Permalink
Merge pull request #3455 from hennevogel/ci/failure-artifacts
Browse files Browse the repository at this point in the history
Store logs/screenshots if suite fails
  • Loading branch information
hennevogel authored Sep 30, 2024
2 parents 6b2e78f + b57ab28 commit 23457e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
bundle exec rake factory_bot:lint RAILS_ENV=test
- name: spec/${{ matrix.suite }}
run: bundle exec rake spec:${{ matrix.suite }}
- name: Upload Suite Artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.suite }}
path: |
log/
tmp/capybara
- name: coverage upload ${{ matrix.suite }}
uses: codacy/codacy-coverage-reporter-action@master
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 23457e3

Please sign in to comment.