From ae97d974586206bb3bdd442716cc98c5c52f9648 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 6 Mar 2024 15:43:52 +1100 Subject: [PATCH] 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 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ jobs: 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