mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Group component tests to reduce CI time (#11134)
This commit is contained in:
		
				
					committed by
					
						 Jesse Hills
						Jesse Hills
					
				
			
			
				
	
			
			
			
						parent
						
							132e949927
						
					
				
				
					commit
					2864bf1674
				
			| @@ -1,25 +1,19 @@ | ||||
| spi: | ||||
|   - id: spi_ft63x6 | ||||
|     clk_pin: ${clk_pin} | ||||
|     mosi_pin: ${mosi_pin} | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_ft63x6 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| display: | ||||
|   - platform: ssd1306_i2c | ||||
|     id: ssd1306_display | ||||
|     i2c_id: i2c_bus | ||||
|     id: ft63x6_display | ||||
|     model: SSD1306_128X64 | ||||
|     reset_pin: ${reset_pin} | ||||
|     pages: | ||||
|       - id: page1 | ||||
|       - id: ft63x6_page1 | ||||
|         lambda: |- | ||||
|           it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|  | ||||
| touchscreen: | ||||
|   - platform: ft63x6 | ||||
|     i2c_id: i2c_bus | ||||
|     display: ft63x6_display | ||||
|     id: ft63x6_touchscreen | ||||
|     interrupt_pin: ${interrupt_pin} | ||||
|     transform: | ||||
|       swap_xy: true | ||||
| @@ -42,6 +36,7 @@ touchscreen: | ||||
|  | ||||
| binary_sensor: | ||||
|   - platform: touchscreen | ||||
|     touchscreen_id: ft63x6_touchscreen | ||||
|     name: Bottom Left Touch | ||||
|     use_raw: true | ||||
|     x_min: 0 | ||||
|   | ||||
| @@ -1,9 +1,8 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO6 | ||||
|   mosi_pin: GPIO7 | ||||
|   scl_pin: GPIO0 | ||||
|   sda_pin: GPIO1 | ||||
|   interrupt_pin: GPIO2 | ||||
|   reset_pin: GPIO3 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,8 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO0 | ||||
|   mosi_pin: GPIO2 | ||||
|   scl_pin: GPIO13 | ||||
|   sda_pin: GPIO14 | ||||
|   interrupt_pin: GPIO15 | ||||
|   reset_pin: GPIO16 | ||||
|   reset_pin: GPIO4 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,8 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO14 | ||||
|   mosi_pin: GPIO13 | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   interrupt_pin: GPIO12 | ||||
|   reset_pin: GPIO16 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,8 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO6 | ||||
|   mosi_pin: GPIO7 | ||||
|   scl_pin: GPIO0 | ||||
|   sda_pin: GPIO1 | ||||
|   interrupt_pin: GPIO2 | ||||
|   reset_pin: GPIO3 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user