mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Group component tests to reduce CI time (#11134)
This commit is contained in:
11
tests/test_build_components/common/i2c/bk72xx-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/bk72xx-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for BK72XX Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: P26
|
||||
sda_pin: P24
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO22
|
||||
sda_pin: GPIO21
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-c3-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32-C3 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO8
|
||||
sda_pin: GPIO10
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-c3-idf.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32-C3 IDF tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO8
|
||||
sda_pin: GPIO10
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
13
tests/test_build_components/common/i2c/esp32-idf.yaml
Normal file
13
tests/test_build_components/common/i2c/esp32-idf.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Common I2C configuration for ESP32 IDF tests
|
||||
# Provides a shared I2C bus that all components can use
|
||||
# Components will auto-use this bus if they don't specify i2c_id
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
13
tests/test_build_components/common/i2c/esp32-p4-idf.yaml
Normal file
13
tests/test_build_components/common/i2c/esp32-p4-idf.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
# Common I2C configuration for ESP32-P4 IDF tests
|
||||
# Provides a shared I2C bus that all components can use
|
||||
# Components will auto-use this bus if they don't specify i2c_id
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO8
|
||||
sda_pin: GPIO7
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-s2-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-s2-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32-S2 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-s2-idf.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-s2-idf.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32-S2 IDF tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-s3-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-s3-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32-S3 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO9
|
||||
sda_pin: GPIO8
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp32-s3-idf.yaml
Normal file
11
tests/test_build_components/common/i2c/esp32-s3-idf.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP32-S3 IDF tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO9
|
||||
sda_pin: GPIO8
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/esp8266-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/esp8266-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for ESP8266 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
11
tests/test_build_components/common/i2c/rp2040-ard.yaml
Normal file
11
tests/test_build_components/common/i2c/rp2040-ard.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
# Common I2C configuration for RP2040 Arduino tests
|
||||
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
i2c:
|
||||
- id: i2c_bus
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
scan: true
|
||||
Reference in New Issue
Block a user