File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ def create_circleci_config(folder=None):
346346    if  folder  is  None :
347347        folder  =  os .getcwd ()
348348    os .environ ["test_preparation_dir" ] =  folder 
349-     jobs  =  [k  for  k  in  ALL_TESTS  if  len ( k . tests_to_run )  >   0 ]
349+     jobs  =  [k  for  k  in  ALL_TESTS  if  os . path . isfile ( os . path . join ( "test_preparation"  ,  f" { k . job_name } _test_list.txt" ) ) ]
350350    print ("The following jobs will be run " , jobs )
351351
352352    if  len (jobs ) ==  0 :
@@ -358,7 +358,7 @@ def create_circleci_config(folder=None):
358358            # Only used to accept the parameters from the trigger 
359359            "nightly" : {"type" : "boolean" , "default" : False },
360360            "tests_to_run" : {"type" : "string" , "default" : '' },
361-             ** {j .job_name  +  "_test_list" :{"type" :"string" , "default" :'' } for  j  in  ALL_TESTS },
361+             ** {j .job_name  +  "_test_list" :{"type" :"string" , "default" :'' } for  j  in  jobs },
362362        },
363363        "jobs"  : {j .job_name : j .to_dict () for  j  in  jobs },
364364        "workflows" : {"version" : 2 , "run_tests" : {"jobs" : [j .job_name  for  j  in  jobs ]}}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments