Browse Source

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>
main
David Gibson 8 months ago
parent
commit
ae97d97458
  1. 2
      .github/workflows/build.yml

2
.github/workflows/build.yml

@ -62,4 +62,4 @@ jobs:
run: meson compile -C build run: meson compile -C build


- name: Run check - 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

Loading…
Cancel
Save