diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4bf180b98..91690118f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,50 +1,43 @@ include: "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/ci_template.yml" +.local-rules: &local-rules + rules: + - changes: + - validate/launcher/ + # 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-rules local valgrind base: extends: '.valgrind fedora x86_64' variables: TEST_SUITE: "check.gst-plugins-base\\..*" - only: - changes: - - validate/launcher/ + <<: *local-rules local valgrind good: extends: '.valgrind fedora x86_64' variables: TEST_SUITE: "check.gst-plugins-good\\..*" - only: - changes: - - validate/launcher/ + <<: *local-rules local valgrind ugly: extends: '.valgrind fedora x86_64' variables: TEST_SUITE: "check.gst-plugins-ugly\\..*" - only: - changes: - - validate/launcher/ + <<: *local-rules local valgrind bad: extends: '.valgrind fedora x86_64' variables: TEST_SUITE: "check.gst-plugins-bad\\..*" - only: - changes: - - validate/launcher/ + <<: *local-rules 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 + <<: *local-rules