mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[enh] don't run test for not working apps
This commit is contained in:
parent
80795da9a7
commit
61c3e0d58e
1 changed files with 4 additions and 0 deletions
4
run.py
4
run.py
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue