Skip to content

Commit

Permalink
samples: sensor: add integration_platforms
Browse files Browse the repository at this point in the history
Add one integration_platforms based on platform_allow to ensure these
tests get coverage in CI.

Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
galak authored and nashif committed Apr 9, 2021
1 parent bf45af5 commit 70fc8bd
Show file tree
Hide file tree
Showing 25 changed files with 56 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/sensor/adxl362/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ tests:
harness: sensor
tags: sensors
depends_on: spi
integration_platforms:
- nrf52dk_nrf52832
platform_allow: nrf52dk_nrf52832
4 changes: 4 additions & 0 deletions samples/sensor/adxl372/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ tests:
tags: sensors
depends_on: spi
platform_allow: nrf52dk_nrf52832
integration_platforms:
- nrf52dk_nrf52832
sample.sensor.adxl372.i2c:
harness: sensor
tags: sensors
depends_on: i2c
platform_allow: frdm_k64f
integration_platforms:
- frdm_k64f
extra_args: "CONF_FILE=prj_i2c.conf"
4 changes: 4 additions & 0 deletions samples/sensor/apds9960/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ tests:
sample.sensor.apds9960:
harness: console
platform_allow: reel_board
integration_platforms:
- reel_board
tags: sensors
depends_on: i2c gpio
harness_config:
Expand All @@ -16,6 +18,8 @@ tests:
sample.sensor.apds9960.trigger:
harness: console
platform_allow: reel_board
integration_platforms:
- reel_board
tags: sensors
depends_on: i2c gpio
extra_configs:
Expand Down
2 changes: 2 additions & 0 deletions samples/sensor/bme280/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ tests:
harness: console
tags: sensors
platform_allow: adafruit_feather_m0_basic_proto
integration_platforms:
- adafruit_feather_m0_basic_proto
harness_config:
type: one_line
regex:
Expand Down
2 changes: 2 additions & 0 deletions samples/sensor/bme680/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ tests:
sample.sensor.bme680:
harness: sensor
tags: samples sensor
integration_platforms:
- nrf52840dk_nrf52840
platform_allow: nrf52840dk_nrf52840 adafruit_feather_nrf52840
2 changes: 2 additions & 0 deletions samples/sensor/bq274xx/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ tests:
sample.sensor.bq274xx:
harness: sensor
platform_allow: nrf9160_innblue22
integration_platforms:
- nrf9160_innblue22
tags: sensors
depends_on: i2c
2 changes: 2 additions & 0 deletions samples/sensor/ccs811/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ tests:
harness: sensor
tags: sensors
platform_allow: thingy52_nrf52832 efr32mg_sltb004a
integration_platforms:
- efr32mg_sltb004a
depends_on: i2c
2 changes: 2 additions & 0 deletions samples/sensor/dht/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ tests:
sample.sensor.dht:
build_only: true
platform_allow: nrf52dk_nrf52832
integration_platforms:
- nrf52dk_nrf52832
tags: sensors
2 changes: 2 additions & 0 deletions samples/sensor/fdc2x1x/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ tests:
harness: sensor
tags: sensors
platform_allow: nrf9160dk_nrf9160
integration_platforms:
- nrf9160dk_nrf9160
2 changes: 2 additions & 0 deletions samples/sensor/fxas21002/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ tests:
harness: sensor
tags: sensors
platform_allow: hexiwear_k64 warp7_m4
integration_platforms:
- warp7_m4
4 changes: 4 additions & 0 deletions samples/sensor/fxos8700/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ tests:
platform_allow: frdm_k64f hexiwear_k64 warp7_m4 frdm_kw41z
rv32m1_vega_ri5cy twr_ke18f lpcxpresso55s16_ns
mimxrt685_evk_cm33 frdm_k22f
integration_platforms:
- frdm_k64f
extra_configs:
- CONFIG_FXOS8700_PULSE=y
- CONFIG_FXOS8700_PULSE_INT1=y
Expand All @@ -18,4 +20,6 @@ tests:
sample.sensor.fxos8700.accel:
platform_allow: frdm_kl25z bbc_microbit lpcxpresso55s69_cpu0 reel_board
mimxrt685_evk_cm33
integration_platforms:
- bbc_microbit
extra_args: CONF_FILE=prj_accel.conf
2 changes: 2 additions & 0 deletions samples/sensor/grove_light/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ tests:
sample.sensor.grove_light:
tags: drivers sensor grove light
platform_allow: nrf52dk_nrf52832
integration_platforms:
- nrf52dk_nrf52832
harness: grove
depends_on: adc
2 changes: 2 additions & 0 deletions samples/sensor/grove_temperature/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ tests:
min_flash: 33
tags: drivers sensor grove temperature
platform_allow: nrf52dk_nrf52832
integration_platforms:
- nrf52dk_nrf52832
harness: grove
depends_on: adc
2 changes: 2 additions & 0 deletions samples/sensor/icm42605/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ tests:
sample.sensor.icm42605:
build_only: true
platform_allow: nrf52dk_nrf52832
integration_platforms:
- nrf52dk_nrf52832
tags: sensors
2 changes: 2 additions & 0 deletions samples/sensor/isl29035/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ tests:
tags: sensors
depends_on: i2c
platform_allow: nrf52dk_nrf52832
integration_platforms:
- nrf52dk_nrf52832
2 changes: 2 additions & 0 deletions samples/sensor/max30101/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ tests:
tags: sensors
platform_allow: hexiwear_k64
depends_on: i2c
integration_platforms:
- hexiwear_k64
2 changes: 2 additions & 0 deletions samples/sensor/mcp9808/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ tests:
depends_on: i2c
filter: dt_compat_enabled("microchip,mcp9808")
platform_allow: nucleo_l053r8
integration_platforms:
- nucleo_l053r8
2 changes: 2 additions & 0 deletions samples/sensor/mcux_acmp/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ sample:
name: NXP MCUX ACMP sample
common:
platform_allow: twr_ke18f
integration_platforms:
- twr_ke18f
tags: drivers
tests:
sample.sensor.mcux_acmp:
Expand Down
2 changes: 2 additions & 0 deletions samples/sensor/mpr/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ tests:
tags: sensors
depends_on: i2c
platform_allow: arduino_due
integration_platforms:
- arduino_due
2 changes: 2 additions & 0 deletions samples/sensor/mpu6050/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ tests:
build_only: true
platform_allow: nrf52dk_nrf52832
tags: sensors
integration_platforms:
- nrf52dk_nrf52832
2 changes: 2 additions & 0 deletions samples/sensor/ms5837/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ tests:
sample.sensor.ms5837:
build_only: true
platform_allow: nrf52840dk_nrf52840
integration_platforms:
- nrf52840dk_nrf52840
tags: sensors
2 changes: 2 additions & 0 deletions samples/sensor/qdec/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ tests:
tags: sensors
harness: sensor
platform_allow: sam_e70_xplained
integration_platforms:
- sam_e70_xplained
2 changes: 2 additions & 0 deletions samples/sensor/ti_hdc/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ tests:
sample.sensor.ti_hdc:
harness: sensor
platform_allow: reel_board nucleo_l496zg
integration_platforms:
- reel_board
tags: sensors
depends_on: i2c
2 changes: 2 additions & 0 deletions samples/sensor/tmp116/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ tests:
sample.sensor.tmp116:
harness: console
platform_allow: nucleo_f401re
integration_platforms:
- nucleo_f401re
tags: sensors
depends_on: i2c
harness_config:
Expand Down
2 changes: 2 additions & 0 deletions samples/sensor/vcnl4040/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ tests:
sample.sensor.vcnl4040:
harness: sensor
platform_allow: adafruit_feather_stm32f405
integration_platforms:
- adafruit_feather_stm32f405
tags: sensors
depends_on: i2c gpio
filter: dt_compat_enabled("vishay,vcnl4040")

0 comments on commit 70fc8bd

Please sign in to comment.