summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2019-04-17 16:59:32 -0400
committerThibault Saunier <tsaunier@igalia.com>2019-04-17 18:10:12 -0400
commitd3bfe9229894e16c238789580f1d51fe5bc26e54 (patch)
treeca426e52c7970e3cc5c616d0b72fa39e8541b3da
parentd60ea5da6394f16647b7c2ff98610ff22caee213 (diff)
ci: Run valgrind tests when changing the check testsuite
-rw-r--r--.gitlab-ci.yml49
1 files changed, 49 insertions, 0 deletions
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