mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #3455 from hennevogel/ci/failure-artifacts
Store logs/screenshots if suite fails
This commit is contained in:
commit
23457e325e
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
|
||||
- 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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue