.github/workflows/build.yml: run unit tests with "--print-errorlogs"

With this option, Meson prints errors instead of logging them to a
file (that would be inaccessible).
This commit is contained in:
Max Kellermann 2025-03-11 10:10:26 +01:00
parent d89b9d1683
commit 5d0aeda4e9

@ -121,7 +121,7 @@ jobs:
run: meson compile -C output/full --verbose
- name: Unit Tests
run: meson test -C output/full
run: meson test -C output/full --print-errorlogs
- name: Configure Mini
run: |
@ -148,7 +148,7 @@ jobs:
run: meson compile -C output/mini --verbose
- name: Unit Tests Mini
run: meson test -C output/mini
run: meson test -C output/mini --print-errorlogs
build-macos:
strategy:
@ -219,7 +219,7 @@ jobs:
run: meson compile -C output/full --verbose
- name: Unit Tests
run: meson test -C output/full
run: meson test -C output/full --print-errorlogs
- name: Configure Mini
run: |
@ -246,7 +246,7 @@ jobs:
run: meson compile -C output/mini --verbose
- name: Unit Tests Mini
run: meson test -C output/mini
run: meson test -C output/mini --print-errorlogs
build-msys2:
strategy: