Skip to content

Commit

Permalink
github: Display meson test logs on failure
Browse files Browse the repository at this point in the history
Currently the way we integrate the existing tests into meson means meson
test itself doesn't show any detailed logs of the failures, those just go
to the meson testlog file.  As a hack to see what's failing in CI builds,
display that file if the tests fail.

Signed-off-by: David Gibson <[email protected]>
  • Loading branch information
dgibson committed Mar 6, 2024
1 parent 92b5d4e commit 057a7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:
run: meson compile -C build

- name: Run check
run: meson test -C build
run: meson test -C build || cat build/meson-logs/testlog.txt

0 comments on commit 057a7db

Please sign in to comment.