Skip to content
Snippets Groups Projects
Commit 0306cf4b authored by Daniel Brown's avatar Daniel Brown
Browse files

adding git pull to commit checker

parent db76ef54
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ scheduled_tests = []
schedule_lock = Lock()
watcher = None
enabled_suites = ["physics","random"]
commit_check_seconds = 600
commit_check_seconds = 60
print "Starting up database"
......@@ -687,6 +687,7 @@ def setInterval(interval):
@setInterval(commit_check_seconds)
def checkLatestCommits():
utils.git(["pull"], cwd=SRC_GIT_PATH)
global latest_commit_id_tested
out = utils.git(["log", re.sub(r"[\W]",'',latest_commit_id_tested) + "..HEAD",'--pretty=format:"%H"'], cwd=SRC_GIT_PATH)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment