From d3bfe9229894e16c238789580f1d51fe5bc26e54 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 17 Apr 2019 16:59:32 -0400 Subject: [PATCH] ci: Run valgrind tests when changing the check testsuite --- .gitlab-ci.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c61aa7a..d4bf180 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1 +1,50 @@ include: "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/ci_template.yml" + +# Run valgrind if we changed the check.py testsuite +local valgrind core: + extends: '.valgrind fedora x86_64' + variables: + TEST_SUITE: "check.gstreamer\\..*" + only: + changes: + - validate/launcher/ + +local valgrind base: + extends: '.valgrind fedora x86_64' + variables: + TEST_SUITE: "check.gst-plugins-base\\..*" + only: + changes: + - validate/launcher/ + +local valgrind good: + extends: '.valgrind fedora x86_64' + variables: + TEST_SUITE: "check.gst-plugins-good\\..*" + only: + changes: + - validate/launcher/ + +local valgrind ugly: + extends: '.valgrind fedora x86_64' + variables: + TEST_SUITE: "check.gst-plugins-ugly\\..*" + only: + changes: + - validate/launcher/ + +local valgrind bad: + extends: '.valgrind fedora x86_64' + variables: + TEST_SUITE: "check.gst-plugins-bad\\..*" + only: + changes: + - validate/launcher/ + +local valgrind ges: + extends: '.valgrind fedora x86_64' + variables: + TEST_SUITE: "check.gst-editing-services\\..*" + only: + changes: + - validate/launcher/ \ No newline at end of file -- 2.7.4