Commit dccc5796 authored by Marco Trevisan's avatar Marco Trevisan
Browse files

ci: Enable coverage reports in test build

parent 0994cc31
...@@ -2,7 +2,7 @@ image: fedora:rawhide ...@@ -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: ...@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment