scripts: ci: tags: Add zephyr-keep-sorted check

The tag entries should be sorted, add zephyr-keep-sorted check and sort
accordingly.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-11-26 11:06:57 +01:00 committed by Fabio Baltieri
parent de19a13c34
commit d2a6e9d701

View File

@ -40,12 +40,32 @@
# to get test coverage as broad as possible.
# 2. Keep tag entries sorted alphabetically
# zephyr-keep-sorted-start
bluetooth:
files:
- drivers/bluetooth/
- subsys/bluetooth/
- subsys/net/l2/bluetooth/
cmsis_dsp:
files:
- modules/Kconfig.cmsis_dsp
# we have no means of telling file changes in a module, so for assume any
# change to west.yml is updating something we need to re-test for.
- west.yml
kernel:
files:
- kernel/
- arch/
mcumgr:
files:
- subsys/mgmt/mcumgr/
- tests/subsys/mgmt/mcumgr/
- samples/subsys/mgmt/mcumgr/
- include/zephyr/mgmt/mcumgr/
net:
files:
- subsys/net/
@ -56,6 +76,17 @@ net:
- drivers/ieee802154/
- drivers/ptp_clock/
posix:
files:
- lib/posix/
test_framework:
files:
- subsys/testsuite/
- samples/subsys/testsuite/
- tests/subsys/testsuite/
- tests/ztest/
wifi:
files:
- modules/hostap/
@ -65,35 +96,7 @@ wifi:
- include/zephyr/net/wifi_mgmt.h
- include/zephyr/net/wifi_nm.h
- include/zephyr/net/wifi_utils.h
test_framework:
files:
- subsys/testsuite/
- samples/subsys/testsuite/
- tests/subsys/testsuite/
- tests/ztest/
cmsis_dsp:
files:
- modules/Kconfig.cmsis_dsp
# we have no means of telling file changes in a module, so for assume any
# change to west.yml is updating something we need to re-test for.
- west.yml
mcumgr:
files:
- subsys/mgmt/mcumgr/
- tests/subsys/mgmt/mcumgr/
- samples/subsys/mgmt/mcumgr/
- include/zephyr/mgmt/mcumgr/
kernel:
files:
- kernel/
- arch/
posix:
files:
- lib/posix/
# zephyr-keep-sorted-stop
# cbprintf:
# files: