ci: Enable coverage reports in test build

This commit is contained in:
Marco Trevisan (Treviño)
2020-02-04 20:22:33 +01:00
parent 0994cc314e
commit dccc5796b6

View File

@ -2,7 +2,7 @@ image: fedora:rawhide
variables: variables:
DEPENDENCIES: dbus-glib-devel pam-devel polkit-devel DEPENDENCIES: dbus-glib-devel pam-devel polkit-devel
gtk-doc meson gettext intltool autoconf automake libtool gtk-doc meson gettext gcovr intltool autoconf automake libtool
gcc gcc-c++ glibc-devel make python3-dbusmock python3-libpamtest systemd-devel gcc gcc-c++ glibc-devel make python3-dbusmock python3-libpamtest systemd-devel
DEPENDENCIES_STABLE: $DEPENDENCIES libfprint-devel DEPENDENCIES_STABLE: $DEPENDENCIES libfprint-devel
DEPENDENCIES_DEV: $DEPENDENCIES git DEPENDENCIES_DEV: $DEPENDENCIES git
@ -80,10 +80,11 @@ test_dev_meson:
stage: test stage: test
<<: *install_libfprint_dev <<: *install_libfprint_dev
script: script:
- meson _build - meson _build -Db_coverage=true
- meson test -C _build --verbose --no-stdsplit --timeout-multiplier 3 - meson test -C _build --verbose --no-stdsplit --timeout-multiplier 3
- ninja -C _build coverage
artifacts: artifacts:
name: log name: log-and-coverage
when: always when: always
paths: paths:
- _build/meson-logs/*.txt - _build/meson-logs