emacs/test/infra/test-jobs.yml
Michael Albinus b91efd401d Improve handling of tests in *-tests subdirs
* test/Makefile.in (subdir_template): Add rules for *-tests subdirs.

* test/infra/Makefile.in: Remove special handling of eieio, faceup
and so-long.  Add recipes for *-tests subdirs.  Filter out rules
for *-tests subdirs.

* test/infra/test-jobs.yml: Regenerate.
2025-05-12 16:39:15 +02:00

553 lines
14 KiB
YAML

# Generated by "make generate-test-jobs", don't edit.
test-lib-src-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lib-src/*.{h,c}
- test/lib-src/*resources/**
- test/lib-src/*.el
variables:
target: emacs-inotify
make_params: -C test check-lib-src
test-lisp-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/*.el
- test/lisp/so-long-tests/*resources/**
- test/lisp/so-long-tests/*.el
- test/lisp/*resources/**
- test/lisp/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp
test-lisp-calc-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/calc/*.el
- test/lisp/calc/*resources/**
- test/lisp/calc/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-calc
test-lisp-calendar-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/calendar/*.el
- test/lisp/calendar/*resources/**
- test/lisp/calendar/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-calendar
test-lisp-cedet-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/cedet/*.el
- test/lisp/cedet/*resources/**
- test/lisp/cedet/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-cedet
test-lisp-cedet-semantic-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/cedet/semantic/*.el
- test/lisp/cedet/semantic/*resources/**
- test/lisp/cedet/semantic/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-cedet-semantic
test-lisp-cedet-semantic-bovine-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/cedet/semantic/bovine/*.el
- test/lisp/cedet/semantic/bovine/*resources/**
- test/lisp/cedet/semantic/bovine/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-cedet-semantic-bovine
test-lisp-cedet-srecode-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/cedet/srecode/*.el
- test/lisp/cedet/srecode/*resources/**
- test/lisp/cedet/srecode/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-cedet-srecode
test-lisp-emacs-lisp-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/emacs-lisp/*.el
- test/lisp/emacs-lisp/eieio-tests/*resources/**
- test/lisp/emacs-lisp/eieio-tests/*.el
- test/lisp/emacs-lisp/faceup-tests/*resources/**
- test/lisp/emacs-lisp/faceup-tests/*.el
- test/lisp/emacs-lisp/*resources/**
- test/lisp/emacs-lisp/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-emacs-lisp
test-lisp-emulation-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/emulation/*.el
- test/lisp/emulation/*resources/**
- test/lisp/emulation/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-emulation
test-lisp-erc-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/erc/*.el
- test/lisp/erc/*resources/**
- test/lisp/erc/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-erc
test-lisp-eshell-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/eshell/*.el
- test/lisp/eshell/*resources/**
- test/lisp/eshell/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-eshell
test-lisp-gnus-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/gnus/*.el
- test/lisp/gnus/*resources/**
- test/lisp/gnus/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-gnus
test-lisp-image-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/image/*.el
- test/lisp/image/*resources/**
- test/lisp/image/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-image
test-lisp-international-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/international/*.el
- test/lisp/international/*resources/**
- test/lisp/international/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-international
test-lisp-mail-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/mail/*.el
- test/lisp/mail/*resources/**
- test/lisp/mail/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-mail
test-lisp-mh-e-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/mh-e/*.el
- test/lisp/mh-e/*resources/**
- test/lisp/mh-e/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-mh-e
test-lisp-net-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/net/*.el
- test/lisp/net/*resources/**
- test/lisp/net/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-net
test-lisp-nxml-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/nxml/*.el
- test/lisp/nxml/*resources/**
- test/lisp/nxml/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-nxml
test-lisp-obsolete-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/obsolete/*.el
- test/lisp/obsolete/*resources/**
- test/lisp/obsolete/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-obsolete
test-lisp-org-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/org/*.el
- test/lisp/org/*resources/**
- test/lisp/org/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-org
test-lisp-play-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/play/*.el
- test/lisp/play/*resources/**
- test/lisp/play/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-play
test-lisp-progmodes-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/progmodes/eglot.el
- lisp/progmodes/*-ts-mode.el
- test/lisp/progmodes/eglot-tests.el
- test/lisp/progmodes/*-ts-mode-resources/**
- test/lisp/progmodes/*-ts-mode-tests.el
when: never
- changes:
- lisp/progmodes/*.el
- test/lisp/progmodes/*resources/**
- test/lisp/progmodes/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-progmodes
test-lisp-term-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/term/*.el
- test/lisp/term/*resources/**
- test/lisp/term/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-term
test-lisp-textmodes-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
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/**
- test/lisp/textmodes/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-textmodes
test-lisp-url-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/url/*.el
- test/lisp/url/*resources/**
- test/lisp/url/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-url
test-lisp-use-package-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/use-package/*.el
- test/lisp/use-package/*resources/**
- test/lisp/use-package/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-use-package
test-lisp-vc-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- lisp/vc/*.el
- test/lisp/vc/vc-tests/*resources/**
- test/lisp/vc/vc-tests/*.el
- test/lisp/vc/*resources/**
- test/lisp/vc/*.el
variables:
target: emacs-inotify
make_params: -C test check-lisp-vc
test-misc-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- admin/*.el
- test/misc/*resources/**
- test/misc/*.el
variables:
target: emacs-inotify
make_params: -C test check-misc
test-src-inotify:
stage: normal
extends: [.job-template, .test-template]
needs:
- job: build-image-inotify
optional: true
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- changes:
- src/treesit.{h,c}
- test/src/treesit-tests.el
when: never
- changes:
- src/*.{h,c}
- test/src/*resources/**
- test/src/*.el
variables:
target: emacs-inotify
make_params: -C test check-src
.tree-sitter-files:
variables:
tree_sitter_files: >-
lisp/align-tests.log
lisp/progmodes/csharp-mode-tests.log
lisp/progmodes/c-ts-mode-tests.log
lisp/progmodes/elixir-ts-mode-tests.log
lisp/progmodes/go-ts-mode-tests.log
lisp/progmodes/heex-ts-mode-tests.log
lisp/progmodes/java-ts-mode-tests.log
lisp/progmodes/js-tests.log
lisp/progmodes/lua-ts-mode-tests.log
lisp/progmodes/python-tests.log
lisp/progmodes/ruby-ts-mode-tests.log
lisp/progmodes/rust-ts-mode-tests.log
lisp/progmodes/typescript-ts-mode-tests.log
src/treesit-tests.log