* test/infra/Makefile.in (subdir_template):
* test/infra/gitlab-ci.yml (.tree-sitter-template): Check also
textmodes subdirectory for treesitter files.
* test/infra/test-jobs.yml: Regenerate.
(cherry picked from commit
d844521abd586f7a42bf6f4f913d39e575f7a750)
define changes
@echo ' - lisp/so-long*.el' >>$(FILE)
endef
+ else ifeq ($(findstring textmodes, $(1)), textmodes)
+ define changes
+ @echo ' - $(1)/*-ts-mode.el' >>$(FILE)
+ @echo ' - test/$(1)/*-ts-mode-resources/**' >>$(FILE)
+ @echo ' - test/$(1)/*-ts-mode-tests.el' >>$(FILE)
+ @echo ' when: never' >>$(FILE)
+ @echo ' - changes:' >>$(FILE)
+ @echo ' - $(1)/*.el' >>$(FILE)
+ endef
else ifeq ($(findstring misc, $(1)), misc)
define changes
@echo ' - admin/*.el' >>$(FILE)
- lisp/progmodes/*-ts-mode.el
- lisp/progmodes/js.el
- lisp/progmodes/python.el
+ - lisp/textmodes/*-ts-mode.el
- src/treesit.{h,c}
- test/infra/*
- test/lisp/progmodes/*-ts-mode-resources/**
- test/lisp/progmodes/*-ts-mode-tests.el
- test/lisp/progmodes/js-tests.el
- test/lisp/progmodes/python-tests.el
+ - test/lisp/textmodes/*-ts-mode-resources/**
+ - test/lisp/textmodes/*-ts-mode-tests.el
- test/src/treesit-tests.el
.native-comp-template:
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
+ - changes:
+ - lisp/textmodes/*-ts-mode.el
+ - test/lisp/textmodes/*-ts-mode-resources/**
+ - test/lisp/textmodes/*-ts-mode-tests.el
+ when: never
- changes:
- lisp/textmodes/*.el
- test/lisp/textmodes/*resources/**