File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4444print ("### Validation Tests" )
4545
4646# Read platform-specific target lists from environment variables 
47+ # Map env var names to test suite platform names: hw->hardware, wokwi->wokwi, qemu->qemu 
4748platform_targets  =  {}
4849try :
4950    hw_targets  =  json .loads (os .environ .get ("HW_TARGETS" , "[]" ))
5051    wokwi_targets  =  json .loads (os .environ .get ("WOKWI_TARGETS" , "[]" ))
5152    qemu_targets  =  json .loads (os .environ .get ("QEMU_TARGETS" , "[]" ))
5253
53-     platform_targets ["hw " ] =  sorted (hw_targets ) if  hw_targets  else  []
54+     platform_targets ["hardware " ] =  sorted (hw_targets ) if  hw_targets  else  []
5455    platform_targets ["wokwi" ] =  sorted (wokwi_targets ) if  wokwi_targets  else  []
5556    platform_targets ["qemu" ] =  sorted (qemu_targets ) if  qemu_targets  else  []
5657except  (json .JSONDecodeError , KeyError ) as  e :
5758    print (f"Warning: Could not parse platform targets from environment: { e }  , file = sys .stderr )
58-     platform_targets  =  {"hw " : [], "wokwi" : [], "qemu" : []}
59+     platform_targets  =  {"hardware " : [], "wokwi" : [], "qemu" : []}
5960
6061proc_test_data  =  {}
6162
Original file line number Diff line number Diff line change 44#  As the Wokwi tests require access to secrets, they are run in a separate workflow.
55#  We need to ensure that the artifacts from previous tests in the chain are propagated for publishing the results.
66#  This is the current trigger sequence for the tests:
7- #   tests.yml -> tests_wokwi .yml -> tests_results.yml
7+ #   tests.yml -> tests_hw_wokwi .yml -> tests_results.yml
88#    ⌙> tests_build.yml
9- #    ⌙> tests_hw.yml
109#    ⌙> tests_qemu.yml
1110
1211name : Runtime Tests 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments