1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Group component tests to reduce CI time (#11134)

This commit is contained in:
J. Nick Koston
2025-10-11 08:21:45 -10:00
committed by Jesse Hills
parent 132e949927
commit 2864bf1674
1808 changed files with 8564 additions and 5758 deletions

View File

@@ -1,13 +1,6 @@
i2c:
id: i2c_bus
scl: ${scl_pin}
sda: ${sda_pin}
scan: true
frequency: 600kHz
# component declaration
wk2212_i2c:
- id: bridge_i2c
- id: wk2212_i2c_bridge
i2c_id: i2c_bus
address: 0x70
uart:
@@ -33,14 +26,14 @@ binary_sensor:
- platform: gpio
name: "pin_0"
pin:
wk2212_i2c: bridge_i2c
wk2212_i2c: wk2212_i2c_bridge
number: 0
mode:
input: true
- platform: gpio
name: "pin_1"
pin:
wk2212_i2c: bridge_i2c
wk2212_i2c: wk2212_i2c_bridge
number: 1
mode:
input: true
@@ -51,14 +44,14 @@ switch:
- platform: gpio
name: "pin_2"
pin:
wk2212_i2c: bridge_i2c
wk2212_i2c: wk2212_i2c_bridge
number: 2
mode:
output: true
- platform: gpio
name: "pin_3"
pin:
wk2212_i2c: bridge_i2c
wk2212_i2c: wk2212_i2c_bridge
number: 3
mode:
output: true

View File

@@ -1,5 +1,4 @@
substitutions:
scl_pin: GPIO22
sda_pin: GPIO21
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
<<: !include common.yaml

View File

@@ -2,4 +2,7 @@ substitutions:
scl_pin: GPIO40
sda_pin: GPIO41
packages:
i2c: !include ../../test_build_components/common/i2c/esp32-s3-idf.yaml
<<: !include common.yaml