zephyr/samples/sensor/stm32_vbat_sensor/sample.yaml
Anas Nashif ba7d730e9b tests/samples: use integration_plaforms in more tests/samples
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>
2022-11-29 16:03:23 +01:00

19 lines
452 B
YAML

sample:
description: Usage of STM32 Vbat internal sensor
name: stm32_vbat_sensor
tests:
sample.sensor.stm32_vbat_sensor:
depends_on: adc
tags: sensors
platform_allow: nucleo_g071rb nucleo_wb55rg
integration_platforms:
- nucleo_g071rb
timeout: 10
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "STM32 Vbat sensor test"
- "Current Vbat voltage: 3(.*) V"