Skip to content

Commit

Permalink
github: upload testlog on failure
Browse files Browse the repository at this point in the history
Upload the testlog if a unit test fails.

Signed-off-by: Klaus Jensen <[email protected]>
  • Loading branch information
birkelund committed Nov 9, 2023
1 parent f7c0ab4 commit e546599
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@ jobs:
- name: unit tests
run: meson test -C build "libvfn:"

- name: upload log
uses: actions/upload-artifact@v3
if: failure()
with:
name: meson test log
path: build/meson-logs/testlog.txt

device-test:
name: "run emulated nvme device tests"

Expand Down

0 comments on commit e546599

Please sign in to comment.