1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43: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 GitHub
parent 6a11700a6b
commit dcf2697a2a
1808 changed files with 8564 additions and 5758 deletions

View File

@@ -1,23 +1,18 @@
spi:
- id: spi_st7920
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
display:
- platform: st7920
cs_pin: ${cs_pin}
height: 128
width: 64
pages:
- id: page1
- id: st7920_page1
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
- id: page2
- id: st7920_page2
lambda: |-
it.rectangle(0, 0, it.get_width(), it.get_height());
on_page_change:
from: page1
to: page2
from: st7920_page1
to: st7920_page2
then:
lambda: |-
ESP_LOGD("display", "1 -> 2");

View File

@@ -1,7 +1,6 @@
substitutions:
clk_pin: GPIO6
mosi_pin: GPIO7
miso_pin: GPIO5
cs_pin: GPIO8
packages:
spi: !include ../../test_build_components/common/spi/esp32-c3-idf.yaml
<<: !include common.yaml

View File

@@ -1,6 +1,7 @@
substitutions:
clk_pin: GPIO16
mosi_pin: GPIO17
cs_pin: GPIO12
packages:
spi: !include ../../test_build_components/common/spi/esp32-idf.yaml
<<: !include common.yaml

View File

@@ -1,7 +1,10 @@
substitutions:
clk_pin: GPIO14
mosi_pin: GPIO13
miso_pin: GPIO12
cs_pin: GPIO5
clk_pin: GPIO0
mosi_pin: GPIO2
miso_pin: GPIO15
cs_pin: GPIO16
packages:
spi: !include ../../test_build_components/common/spi/esp8266-ard.yaml
<<: !include common.yaml

View File

@@ -4,4 +4,7 @@ substitutions:
miso_pin: GPIO4
cs_pin: GPIO5
packages:
spi: !include ../../test_build_components/common/spi/rp2040-ard.yaml
<<: !include common.yaml