mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI-ethernet] Add/fix/organize/clean up ethernet component tests (#6916)
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| ethernet: | ||||
|   type: LAN8720 | ||||
|   type: DP83848 | ||||
|   mdc_pin: 23 | ||||
|   mdio_pin: 25 | ||||
|   clk_mode: GPIO0_IN | ||||
| @@ -1,5 +1,5 @@ | ||||
| ethernet: | ||||
|   type: LAN8720 | ||||
|   type: IP101 | ||||
|   mdc_pin: 23 | ||||
|   mdio_pin: 25 | ||||
|   clk_mode: GPIO0_IN | ||||
							
								
								
									
										12
									
								
								tests/components/ethernet/common-jl1101.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/components/ethernet/common-jl1101.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| ethernet: | ||||
|   type: JL1101 | ||||
|   mdc_pin: 23 | ||||
|   mdio_pin: 25 | ||||
|   clk_mode: GPIO0_IN | ||||
|   phy_addr: 0 | ||||
|   power_pin: 26 | ||||
|   manual_ip: | ||||
|     static_ip: 192.168.178.56 | ||||
|     gateway: 192.168.178.1 | ||||
|     subnet: 255.255.255.0 | ||||
|   domain: .local | ||||
							
								
								
									
										12
									
								
								tests/components/ethernet/common-ksz8081.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/components/ethernet/common-ksz8081.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| ethernet: | ||||
|   type: KSZ8081 | ||||
|   mdc_pin: 23 | ||||
|   mdio_pin: 25 | ||||
|   clk_mode: GPIO0_IN | ||||
|   phy_addr: 0 | ||||
|   power_pin: 26 | ||||
|   manual_ip: | ||||
|     static_ip: 192.168.178.56 | ||||
|     gateway: 192.168.178.1 | ||||
|     subnet: 255.255.255.0 | ||||
|   domain: .local | ||||
							
								
								
									
										12
									
								
								tests/components/ethernet/common-ksz8081rna.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/components/ethernet/common-ksz8081rna.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| ethernet: | ||||
|   type: KSZ8081RNA | ||||
|   mdc_pin: 23 | ||||
|   mdio_pin: 25 | ||||
|   clk_mode: GPIO0_IN | ||||
|   phy_addr: 0 | ||||
|   power_pin: 26 | ||||
|   manual_ip: | ||||
|     static_ip: 192.168.178.56 | ||||
|     gateway: 192.168.178.1 | ||||
|     subnet: 255.255.255.0 | ||||
|   domain: .local | ||||
							
								
								
									
										12
									
								
								tests/components/ethernet/common-rtl8201.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/components/ethernet/common-rtl8201.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| ethernet: | ||||
|   type: RTL8201 | ||||
|   mdc_pin: 23 | ||||
|   mdio_pin: 25 | ||||
|   clk_mode: GPIO0_IN | ||||
|   phy_addr: 0 | ||||
|   power_pin: 26 | ||||
|   manual_ip: | ||||
|     static_ip: 192.168.178.56 | ||||
|     gateway: 192.168.178.1 | ||||
|     subnet: 255.255.255.0 | ||||
|   domain: .local | ||||
| @@ -1,11 +1,11 @@ | ||||
| ethernet: | ||||
|   type: W5500 | ||||
|   clk_pin: GPIO19 | ||||
|   mosi_pin: GPIO21 | ||||
|   miso_pin: GPIO23 | ||||
|   cs_pin: GPIO18 | ||||
|   interrupt_pin: GPIO36 | ||||
|   reset_pin: GPIO22 | ||||
|   clk_pin: 19 | ||||
|   mosi_pin: 21 | ||||
|   miso_pin: 23 | ||||
|   cs_pin: 18 | ||||
|   interrupt_pin: 36 | ||||
|   reset_pin: 22 | ||||
|   clock_speed: 10Mhz | ||||
|   manual_ip: | ||||
|     static_ip: 192.168.178.56 | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-dp83848.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-dp83848.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-dp83848.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-dp83848.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-dp83848.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-dp83848.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-ip101.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-ip101.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-ip101.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-ip101.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-ip101.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-ip101.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-jl1101.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-jl1101.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-jl1101.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-jl1101.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-jl1101.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-jl1101.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-ksz8081.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-ksz8081.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-ksz8081.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-ksz8081.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-ksz8081.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-ksz8081.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-ksz8081rna.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-ksz8081rna.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-ksz8081rna.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-ksz8081rna.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-ksz8081rna.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-ksz8081rna.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-lan8720.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-lan8720.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-lan8720.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-lan8720.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-lan8720.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-lan8720.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-rtl8201.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-rtl8201.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-rtl8201.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-rtl8201.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-rtl8201.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-rtl8201.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-w5500.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-w5500.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-w5500.yaml | ||||
							
								
								
									
										1
									
								
								tests/components/ethernet/test-w5500.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/components/ethernet/test-w5500.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| <<: !include common-w5500.yaml | ||||
| @@ -1 +0,0 @@ | ||||
| <<: !include common.yaml | ||||
| @@ -1 +0,0 @@ | ||||
| <<: !include common.yaml | ||||
| @@ -1,14 +0,0 @@ | ||||
| ethernet: | ||||
|   type: W5500 | ||||
|   clk_pin: GPIO19 | ||||
|   mosi_pin: GPIO21 | ||||
|   miso_pin: GPIO23 | ||||
|   cs_pin: GPIO18 | ||||
|   interrupt_pin: GPIO36 | ||||
|   reset_pin: GPIO22 | ||||
|   clock_speed: 10Mhz | ||||
|   manual_ip: | ||||
|     static_ip: 192.168.178.56 | ||||
|     gateway: 192.168.178.1 | ||||
|     subnet: 255.255.255.0 | ||||
|   domain: .local | ||||
		Reference in New Issue
	
	Block a user