diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2022-03-21 14:24:51 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2022-03-27 18:44:03 +0000 |
commit | f41997acb5d70abff36c25e1faeb0832b411c87e (patch) | |
tree | a7da1b694b04155d28f1da3f5f055dc2987c3ba2 /.gitlab-ci.yml | |
parent | d409f290664be7966243492b8a9205bb36fd228d (diff) | |
download | tracker-f41997acb5d70abff36c25e1faeb0832b411c87e.tar.gz |
ci: Rebuild tree before running tests
For some reason, gcc or gcovr do not appreciate intermediate gcda/gcno
files being transferred between CI runners. Ensure to rebuild the
tree so that these are freshly created.
Fixes the wonky coverage reports seen lately, as individual test
runs had these fluctuations that made them report as little as 10%
covered, quite far from the more accurate ~77% we get in the correct
runs.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8c7f91ed6..ff06146bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -287,6 +287,7 @@ build-alpine-latest@x86_64: # whole environment for every failed test, and that gives a whole # screenful of junk each time unless we strip these. unset $(env|grep -o '^CI_[^=]*') + ninja clean; ninja env LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session meson test -t $MESON_TEST_TIMEOUT_MULTIPLIER --print-errorlogs ${MESON_TEST_EXTRA_ARGS} after_script: - pushd build |