@@ -160,11 +160,11 @@ def validate_release_state(repo):
160160
161161 return
162162
163- def validate_travis (repo ):
164- """Validate if a repo has .travis. yml.
163+ def validate_actions (repo ):
164+ """Validate if a repo has workflows/githubci. yml
165165 """
166- repo_has_travis = requests .get ("https://raw.githubusercontent.com/adafruit/" + repo ["name" ] + "/master/.travis .yml" )
167- return repo_has_travis .ok
166+ repo_has_actions = requests .get ("https://raw.githubusercontent.com/adafruit/" + repo ["name" ] + "/master/.github/workflows/githubci .yml" )
167+ return repo_has_actions .ok
168168
169169def validate_example (repo ):
170170 """Validate if a repo has any files in examples directory
@@ -181,7 +181,7 @@ def run_arduino_lib_checks():
181181 failed_lib_prop = [[" Repo" , "Release Tag" , "library.properties Version" ], [" ----" , "-----------" , "--------------------------" ]]
182182 needs_release_list = [[" Repo" , "Latest Release" , "Commits Behind" ], [" ----" , "--------------" , "--------------" ]]
183183 needs_registration_list = [[" Repo" ], [" ----" ]]
184- missing_travis_list = [[" Repo" ], [" ----" ]]
184+ missing_actions_list = [[" Repo" ], [" ----" ]]
185185 missing_library_properties_list = [[" Repo" ], [" ----" ]]
186186
187187 for repo in repo_list :
@@ -217,10 +217,10 @@ def run_arduino_lib_checks():
217217 if needs_release :
218218 needs_release_list .append ([" " + str (repo ["name" ]), needs_release [0 ], needs_release [1 ]])
219219
220- missing_travis = not validate_travis (repo )
221- entry ['needs_travis ' ] = missing_travis
222- if missing_travis :
223- missing_travis_list .append ([" " + str (repo ["name" ])])
220+ missing_actions = not validate_actions (repo )
221+ entry ['needs_actions ' ] = missing_actions
222+ if missing_actions :
223+ missing_actions_list .append ([" " + str (repo ["name" ])])
224224
225225 all_libraries .append (entry )
226226
@@ -236,8 +236,8 @@ def run_arduino_lib_checks():
236236 if len (needs_release_list ) > 2 :
237237 print_list_output ("Libraries have commits since last release: ({})" , needs_release_list );
238238
239- if len (missing_travis_list ) > 2 :
240- print_list_output ("Libraries that is not configured with Travis : ({})" , missing_travis_list )
239+ if len (missing_actions_list ) > 2 :
240+ print_list_output ("Libraries that is not configured with Actions : ({})" , missing_actions_list )
241241
242242 if len (missing_library_properties_list ) > 2 :
243243 print_list_output ("Libraries that is missing library.properties file: ({})" , missing_library_properties_list )
0 commit comments