integration_platforms help us control what get built/executed in CI and for each PR submitted. They do not filter out platforms, instead they just minimize the amount of builds/testing for a particular tests/sample. Tests still run on all supported platforms when not in integration mode. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
25 lines
1,005 B
YAML
25 lines
1,005 B
YAML
sample:
|
|
name: Modbus RTU Server Sample
|
|
tests:
|
|
sample.modbus.rtu_server:
|
|
build_only: true
|
|
platform_allow: nrf52840dk_nrf52840 frdm_k64f
|
|
integration_platforms:
|
|
- nrf52840dk_nrf52840
|
|
tags: uart modbus
|
|
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
|
|
dt_enabled_alias_with_parent_compat("led1", "gpio-leds") and
|
|
dt_enabled_alias_with_parent_compat("led2", "gpio-leds")
|
|
depends_on: gpio arduino_serial
|
|
sample.modbus.rtu_server.cdc_acm:
|
|
build_only: true
|
|
platform_allow: nrf52840dk_nrf52840 frdm_k64f
|
|
integration_platforms:
|
|
- nrf52840dk_nrf52840
|
|
tags: usb modbus
|
|
filter: dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and
|
|
dt_enabled_alias_with_parent_compat("led1", "gpio-leds") and
|
|
dt_enabled_alias_with_parent_compat("led2", "gpio-leds")
|
|
extra_args: OVERLAY_CONFIG="overlay-cdc-acm.conf"
|
|
DTC_OVERLAY_FILE="cdc-acm.overlay"
|
|
depends_on: usb_device
|