Store logs/screenshots if suite fails
This commit is contained in:
parent
c3535d991b
commit
b57ab2870b
1 changed files with 8 additions and 0 deletions
8
.github/workflows/spec.yml
vendored
8
.github/workflows/spec.yml
vendored
|
|
@ -41,6 +41,14 @@ jobs:
|
||||||
bundle exec rake factory_bot:lint RAILS_ENV=test
|
bundle exec rake factory_bot:lint RAILS_ENV=test
|
||||||
- name: spec/${{ matrix.suite }}
|
- name: spec/${{ matrix.suite }}
|
||||||
run: bundle exec rake 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 }}
|
- name: coverage upload ${{ matrix.suite }}
|
||||||
uses: codacy/codacy-coverage-reporter-action@master
|
uses: codacy/codacy-coverage-reporter-action@master
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue