mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +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,8 +1,3 @@ | ||||
| spi: | ||||
|   - id: spi_ssd1351_spi | ||||
|     clk_pin: ${clk_pin} | ||||
|     mosi_pin: ${mosi_pin} | ||||
|  | ||||
| display: | ||||
|   - platform: ssd1351_spi | ||||
|     model: "SSD1351 128x128" | ||||
| @@ -10,15 +5,15 @@ display: | ||||
|     dc_pin: ${dc_pin} | ||||
|     reset_pin: ${reset_pin} | ||||
|     pages: | ||||
|       - id: page1 | ||||
|       - id: ssd1351_spi_page1 | ||||
|         lambda: |- | ||||
|           it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|       - id: page2 | ||||
|       - id: ssd1351_spi_page2 | ||||
|         lambda: |- | ||||
|           it.rectangle(0, 0, it.get_width(), it.get_height()); | ||||
|     on_page_change: | ||||
|       from: page1 | ||||
|       to: page2 | ||||
|       from: ssd1351_spi_page1 | ||||
|       to: ssd1351_spi_page2 | ||||
|       then: | ||||
|         lambda: |- | ||||
|           ESP_LOGD("display", "1 -> 2"); | ||||
|   | ||||
| @@ -1,9 +1,8 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO6 | ||||
|   mosi_pin: GPIO7 | ||||
|   miso_pin: GPIO5 | ||||
|   cs_pin: GPIO8 | ||||
|   dc_pin: GPIO9 | ||||
|   reset_pin: GPIO10 | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,8 +1,9 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO16 | ||||
|   mosi_pin: GPIO17 | ||||
|   cs_pin: GPIO12 | ||||
|   dc_pin: GPIO13 | ||||
|   reset_pin: GPIO14 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,12 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO14 | ||||
|   mosi_pin: GPIO13 | ||||
|   clk_pin: GPIO0 | ||||
|   mosi_pin: GPIO2 | ||||
|   miso_pin: GPIO12 | ||||
|   cs_pin: GPIO5 | ||||
|   dc_pin: GPIO15 | ||||
|   reset_pin: GPIO16 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -6,4 +6,7 @@ substitutions: | ||||
|   dc_pin: GPIO15 | ||||
|   reset_pin: GPIO16 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user