Skip to content

Commit 58f2612

Browse files
oyvindronningstadcarlescufi
authored andcommitted
.github: manifest.yml: Add CI labels based on modules in west.yml
Add CI labels only when relevant modules are changed. This allows more granularity on the testing when west.yml is changed, allowing different test suites to run depending on the module, instead of running the entire test suite whenever west.yml is updated. Signed-off-by: Øyvind Rønningstad <[email protected]>
1 parent 6a5daf2 commit 58f2612

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/manifest.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,19 @@ jobs:
2929
checkout-path: 'ncs/nrf'
3030
label-prefix: 'manifest-'
3131
verbosity-level: '1'
32-
labels: 'manifest'
32+
33+
# Add one label per line. 'manifest' always adds the label 'manifest'.
34+
# 'CI-all-test:zephyr;nrfxlib,' adds the 'CI-all-test' label when the
35+
# zephyr module or the nrfxlib module is changed. Each line is comma-
36+
# separated.
37+
labels: >
38+
manifest,
39+
CI-all-test:zephyr;nrfxlib,
40+
CI-tfm-test:trusted-firmware-m;tfm-mcuboot,
41+
CI-boot-dfu-test:mcuboot;mcumgr,
42+
CI-matter-test:matter,
43+
CI-find-my-test:find-my,
44+
CI-homekit-test:homekit,
45+
CI-thread-test:openthread,
46+
CI-crypto-test:mbedtls;mbedtls-nrf
3347
dnm-labels: 'DNM'

0 commit comments

Comments
 (0)