[enh] don't run test for not working apps

This commit is contained in:
Laurent Peuch 2018-08-24 15:12:25 +02:00
parent 80795da9a7
commit 61c3e0d58e

4
run.py
View file

@ -103,6 +103,10 @@ async def monitor_apps_lists():
for app_id, app_data in data.items():
commit_sha = await get_master_commit_sha(app_data["git"]["url"])
if app_data["state"] not in ("working", "validated"):
task_logger.debug(f"skip {app_id} because state is {app_data['state']}")
continue
# already know, look to see if there is new commits
if app_id in repos:
repo = repos[app_id]