From 6803328561956dbc42808160b3716061308411fe Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 30 Aug 2020 14:05:55 +0200 Subject: [PATCH] * .gitlab-ci.yml (test-all): Run only when needed. --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 913ba0fd4fa..ad01e473b4e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,6 +40,32 @@ stages: test-all: # This tests also file monitor libraries inotify and inotifywatch. stage: test + only: + changes: + - "Makefile.in" + - .gitlab-ci.yml + - aclocal.m4 + - autogen.sh + - configure.ac + - lisp/*.el + - lisp/**/*.el + - src/*.{h,m} + - test/lisp/*.el + - test/lisp/**/*.el + - test/src/*.el + except: + changes: + # gfilemonitor, kqueue + - src/gfilenotify.c + - src/kqueue.c + # MS Windows + - lisp/w32*.el + - lisp/term/w32*.el + - src/w32*.{h,m} + # GNUstep + - lisp/term/ns-win.el + - src/ns*.{h,m} + - src/macfont.{h,m} script: - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 inotify-tools - ./autogen.sh autoconf -- 2.39.5