Skip to content

Commit

Permalink
[nrf noup] test-spec: add .github/test-spec.yml
Browse files Browse the repository at this point in the history
This file is used for NCS-specific testing configuration based on
modifications to files in this repository.

Signed-off-by: Alperen Sener <alperen.sener@nordicsemi.no>
Signed-off-by: Elisabeth Solheim Klakken <elisabeth.solheim@nordicsemi.no>
Signed-off-by: Mariusz Poslinski <mariusz.poslinski@nordicsemi.no>
Signed-off-by: Markus Swarowsky <markus.swarowskyl@nordicsemi.no>
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Signed-off-by: Sebastian Wezel <sebastian.wezel@nordicsemi.no>
Signed-off-by: Tomasz Tyzenhauz <tomasz.tyzenhauz@nordicsemi.no>
Signed-off-by: Fredrik Ås <fredrik.aas@nordicsemi.no>
Signed-off-by: Michał Szablowski <michal.szablowski@nordicsemi.no>
Signed-off-by: Tony Le <tony.le@nordicsemi.no>
Signed-off-by: Krishna T <krishna.t@nordicsemi.no>
Signed-off-by: Dawid Przybylo <dawid.przybylo@nordicsemi.no>
Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
Signed-off-by: Jørgen Kvalvaag <jorgen.kvalvaag@nordicsemi.no>
Signed-off-by: Magne Værnes <magne.varnes@nordicsemi.no>
Signed-off-by: Lang Xie <Lang.Xie@nordicsemi.no>
Signed-off-by: Alexander Svensen <alexander.svensen@nordicsemi.no>
Signed-off-by: Jan Gałda <jan.galda@nordicsemi.no>
Signed-off-by: Vladislav Litvinov <vladislav.litvinov@nordicsemi.no>
Signed-off-by: Guojun Wang <guojun.wang@nordicsemi.no>
Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
(cherry picked from commit 605f129)
(cherry picked from commit 8174462)
(cherry picked from commit d53a1c9)
(cherry picked from commit 255ee9d)
(cherry picked from commit 5e15882)
(cherry picked from commit 23b8a13)
(cherry picked from commit 660313b)
(cherry picked from commit 14a865b)
(cherry picked from commit ddedbc9)
(cherry picked from commit caae0df)
(cherry picked from commit fe46100)
(cherry picked from commit 22735e0)
(cherry picked from commit 8497190)
(cherry picked from commit 81474ef)
(cherry picked from commit 7bb927f)
(cherry picked from commit 9568c08)

[nrf noup] test-spec: introduce specific ble-sample label

Add CI-ble-samples-test label and test spec for ble sample CI.
It has different test scope than BLE CI

Signed-off-by: Guojun Wang <guojun.wang@nordicsemi.no>

[nrf noup] test-spec: include nrf54 boards in low-level test trigger

All changes in nrf54 boards will trigger low-level testing.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
(cherry picked from commit 3c68e19)

[nrf noup] test-spec: update boards paths for HWv2

squash! [nrf noup] test-spec: include nrf54 boards in low-level test trigger

/boards/arm -> /boards/nordic

Signed-off-by: Thomas Stilwell <Thomas.Stilwell@nordicsemi.no>
  • Loading branch information
DatGizmo authored and thst-nordic committed May 13, 2024
1 parent d362d00 commit 2fef66f
Show file tree
Hide file tree
Showing 2 changed files with 313 additions and 0 deletions.
312 changes: 312 additions & 0 deletions .github/test-spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,312 @@
# This is the Jenkins ci variant of the .github/labler.yaml

"CI-run-zephyr-twister":
- any:
- "!.github/**/*"
- "!doc/**/*"
- "!CODEOWNERS"
- "!LICENSE"
- "!**/*.rst"
- "!VERSION"
- "!submanifests/**/*"
- "!MAINTAINERS.yml"
- "!version.h.in"
- "!Jenkinsfile"
- "!**/*.md"

"CI-iot-zephyr-lwm2m-test":
- "drivers/console/**/*"
- "drivers/flash/**/*"
- "subsys/dfu/boot/**/*"
- "subsys/net/ip/**/*"
- "subsys/net/lib/http/**/*"
- "subsys/net/lib/lwm2m//**/*"
- "subsys/net/**/*"

"CI-iot-samples-test":
- "boards/nordic/nrf9160dk/**/*"
- "dts/arm/nordic/nrf9160*"
- "include/net/**/*"
- "subsys/net/lib/**/*"

"CI-iot-libraries-test":
- "boards/nordic/nrf9160dk/**/*"
- "dts/arm/nordic/nrf9160*"
- "include/net/socket_ncs.h"
- "subsys/testsuite/ztest/**/*"

"CI-lwm2m-test": null
# Not necessary to run tests on changes to this repo.

"CI-boot-dfu-test":
- "subsys/mgmt/mcumgr/**/*"
- "subsys/dfu/**/*"
- "include/mgmt/mcumgr/**/*"
- "include/dfu/**/*"
- "samples/subsys/mgmt/mcumgr/smp_svr/**/*"

"CI-tfm-test":
- "boards/nordic/nrf5340dk/**/*"
- "boards/nordic/nrf9160dk/**/*"
- "drivers/entropy/*"
- "dts/arm/nordic/nrf5340*"
- "dts/arm/nordic/nrf9160*"
- "modules/trusted-firmware-m/**/*"
- "samples/tfm_integration/**/*"

"CI-ble-test":
- any:
- "drivers/bluetooth/**/*"
- any:
- "dts/arm/nordic/nrf5*"
- any:
- "subsys/bluetooth/**/*"
- "!subsys/bluetooth/mesh/**/*"
- "!subsys/bluetooth/audio/**/*"
- any:
- "include/zephyr/bluetooth/**/*"
- "!include/zephyr/bluetooth/mesh/**/*"
- "samples/bluetooth/hci_rpc/**/*"

"CI-ble-samples-test":
- any:
- "drivers/bluetooth/**/*"
- any:
- "dts/arm/nordic/nrf5*"
- any:
- "subsys/bluetooth/**/*"
- "!subsys/bluetooth/mesh/**/*"
- "!subsys/bluetooth/audio/**/*"
- any:
- "include/zephyr/bluetooth/**/*"
- "!include/zephyr/bluetooth/mesh/**/*"
- "samples/bluetooth/**/*"

"CI-mesh-test":
- "subsys/bluetooth/mesh/**/*"
- "include/zephyr/bluetooth/mesh/**/*"
- "samples/bluetooth/mesh/**/*"
- "samples/bluetooth/mesh_demo/**/*"
- "samples/bluetooth/mesh_provisioner/**/*"
- "tests/bluetooth/mesh/**/*"
- "tests/bluetooth/mesh_shell/**/*"

"CI-zigbee-test":
- "subsys/mgmt/mcumgr/**/*"
- "subsys/dfu/**/*"
- "include/mgmt/mcumgr/**/*"
- "include/dfu/**/*"

"CI-thingy91-test":
- "boards/nordic/nrf9160dk/**/*"
- "arch/x86/core/**/*"
- "arch/x86/include/**/*"
- "drivers/console/**/*"
- "drivers/ethernet/**/*"
- "drivers/flash/**/*"
- "drivers/hwinfo/**/*"
- "drivers/interrupt_controller/**/*"
- "drivers/net/**/*"
- "drivers/serial/**/*"
- "drivers/timer/**/*"
- "include/**/*"
- "kernel/**/*"
- "lib/libc/common/source/stdlib/**/*"
- "lib/libc/newlib/**/*"
- "lib/libc/picolibc/**/*"
- "lib/os/**/*"
- "lib/posix/**/*"
- "misc/**/*"
- "modules/mbedtls/**/*"
- "soc/x86/ia32/**/*"
- "subsys/fs/fcb/**/*"
- "subsys/logging/**/*"
- "subsys/net/**/*"
- "subsys/random/**/*"
- "subsys/settings/include/**/*"
- "subsys/settings/src/**/*"
- "subsys/stats/**/*"
- "subsys/storage/flash_map/**/*"
- "subsys/storage/stream/**/*"
- "subsys/tracing/**/*"

"CI-desktop-test":
- any:
- "**/*"
- "!samples/bluetooth/**/*"
- "!tests/bluetooth/**/*"

"CI-crypto-test":
- "boards/nordic/nrf52840dk/**/*"
- "boards/nordic/nrf5340dk/**/*"
- "boards/nordic/nrf9160dk/**/*"
- "drivers/entropy/*"
- "drivers/serial/**/*"
- "dts/arm/nordic/nrf52840*"
- "dts/arm/nordic/nrf5340*"
- "dts/arm/nordic/nrf9160*"
- "include/drivers/serial/**/*"
- "modules/mbedtls/**/*"

"CI-fem-test":
- any:
- "**/*"
- "!samples/bluetooth/**/*"
- "!tests/bluetooth/**/*"

"CI-rs-test":
- any:
- "**/*"
- "!samples/bluetooth/**/*"
- "!tests/bluetooth/**/*"

"CI-thread-test":
- "include/zephyr/net/**/*"
- "modules/mbedtls/**/*"
- "modules/openthread/**/*"
- "samples/net/openthread/**/*"
- "soc/arm/nordic_nrf/**/*"
- "subsys/net/**/*"
- "subsys/settings/**/*"

"CI-nfc-test":
- any:
- "**/*"
- "!samples/bluetooth/**/*"
- "!tests/bluetooth/**/*"

"CI-matter-test":
- "include/dfu/**/*"
- "include/mgmt/mcumgr/**/*"
- "soc/arm/nordic_nrf/**/*"
- "subsys/dfu/**/*"
- "subsys/settings/**/*"
- "subsys/net/**/*"
- "subsys/mgmt/mcumgr/**/*"
- "drivers/net/**/*"
- "samples/bluetooth/hci_rpc/**/*"
- any:
- "subsys/bluetooth/**/*"
- "!subsys/bluetooth/mesh/**/*"
- "!subsys/bluetooth/audio/**/*"

"CI-find-my-test":
- any:
- "**/*"
- "!samples/bluetooth/**/*"
- "!tests/bluetooth/**/*"

"CI-gazell-test":
- any:
- "**/*"
- "!samples/bluetooth/**/*"
- "!tests/bluetooth/**/*"

"CI-rpc-test":
- any:
- "**/*"
- "!samples/bluetooth/**/*"
- "!tests/bluetooth/**/*"

"CI-modemshell-test":
- "include/net/**/*"
- "include/posix/**/*"
- "include/shell/**/*"
- "drivers/net/**/*"
- "drivers/serial/**/*"
- "drivers/wifi/**/*"
- "subsys/shell/**/*"
- "subsys/net/**/*"
- "subsys/settings/**/*"

"CI-positioning-test":
- "include/net/**/*"
- "include/posix/**/*"
- "drivers/net/**/*"
- "drivers/wifi/**/*"
- "subsys/net/**/*"
- "subsys/settings/**/*"

"CI-cloud-test":
- "include/zephyr/dfu/**/*"
- "include/zephyr/net/**/*"
- "include/zephyr/posix/**/*"
- "include/zephyr/settings/**/*"
- "drivers/led/**/*"
- "drivers/net/**/*"
- "drivers/sensor/**/*"
- "drivers/serial/**/*"
- "drivers/wifi/**/*"
- "lib/posix/**/*"
- "soc/arm/nordic_nrf/**/*"
- "subsys/dfu/**/*"
- "subsys/net/**/*"
- "subsys/settings/**/*"

"CI-wifi":
- "subsys/net/l2/wifi/**/*"
- "subsys/net/l2/ethernet/**/*"

"CI-sidewalk-test":
- "include/dfu/**/*"
- "include/mgmt/mcumgr/**/*"
- "soc/arm/nordic_nrf/**/*"
- "subsys/dfu/**/*"
- "subsys/settings/**/*"
- "subsys/mgmt/mcumgr/**/*"
- "samples/bluetooth/hci_rpc/**/*"
- any:
- "subsys/bluetooth/**/*"
- "!subsys/bluetooth/mesh/**/*"
- "!subsys/bluetooth/audio/**/*"

"CI-audio-test":
- "boards/nordic/nrf5340_audio_dk/**/*"
- "drivers/flash/**/*"
- "drivers/spi/**/*"
- "drivers/gpio/**/*"
- "drivers/i2c/**/*"
- "drivers/watchdog/**/*"
- "include/dfu/**/*"
- "include/mgmt/mcumgr/**/*"
- "samples/bluetooth/hci_rpc/**/*"
- "soc/arm/nordic_nrf/**/*"
- "subsys/bluetooth/audio/**/*"
- "subsys/bluetooth/host/**/*"
- "subsys/dfu/**/*"
- "subsys/fs/**/*"
- "subsys/mgmt/mcumgr/**/*"
- "subsys/sd/**/*"
- "subsys/storage/**/*"
- "subsys/task_wdt/**/*"
- "subsys/usb/**/*"
- "subsys/zbus/**/*"

"CI-pmic-samples-test":
- "samples/shields/npm1300_ek/**/*"
- "boards/shields/npm1300_ek/**/*"
- "**/**npm1300**/**"
- "drivers/regulator/regulator_common.c"
- "drivers/regulator/regulator_shell.c"
- "drivers/gpio/gpio_shell.c"
- "drivers/sensor/sensor_shell.c"

"CI-test-low-level":
- "dts/**/*"
- "boards/nordic/nrf54*/**/*"
- "include/zephyr/**/*"
- "tests/arch/**/*"
- "arch/**/*"
- "tests/kernel/**/*"
- "kernel/**/*"
- "tests/drivers/**/*"
- "drivers/**/*"
- "samples/subsys/settings/**/*"
- "subsys/settings/**/*"
- "samples/subsys/logging/**/*"
- "subsys/logging/**/*"
- "samples/sensor/**/*"
- "samples/hello_world/**/*"
- "samples/synchronization/**/*"
- "samples/drivers/watchdog/**/*"
- "modules/hal_nordic/**/*"
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# component or code. This file is going to be deprecated and currently only had
# entries that are not covered by the MAINTAINERS file.

/.github/test-spec.yml @nrfconnect/ncs-test-leads
/soc/arm/aspeed/ @aspeeddylan
/soc/atmel/ @nandojve
/soc/arm/bcm*/ @sbranden
Expand Down

0 comments on commit 2fef66f

Please sign in to comment.