zephyr/samples/sensor/bme280/sample.yaml
Kumar Gala 70fc8bd38a samples: sensor: add integration_platforms
Add one integration_platforms based on platform_allow to ensure these
tests get coverage in CI.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-09 06:50:47 -04:00

25 lines
675 B
YAML

sample:
name: BME280 Sensor sample
tests:
sample.sensor.bme280:
harness: console
tags: sensors
platform_allow: adafruit_feather_m0_basic_proto
integration_platforms:
- adafruit_feather_m0_basic_proto
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_i2c_bme280
sample.sensor.bme280.spi:
harness: console
tags: sensors
depends_on: spi bme280
extra_args: "DTC_OVERLAY_FILE=arduino_spi.overlay"
harness_config:
type: one_line
regex:
- "temp: (.*); press: (.*); humidity: (.*)"
fixture: fixture_spi_bme280