github: Don't accidentally suppress test errors
The last commit, displaying the meson testlog if we fail tests had the
accidentaly side effect of not propagating the failure to show up properly
in github's dashboard. Fix that.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f841eef..b414314 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -62,4 +62,4 @@
run: meson compile -C build
- name: Run check
- run: meson test -C build || cat build/meson-logs/testlog.txt
+ run: if ! meson test -C build; then cat build/meson-logs/testlog.txt; false; fi