From d11e41c8a08f29bbf594b0cf7ff0d3afa5a4ad7b Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 12 Feb 2022 23:48:57 -0800 Subject: [PATCH] sage_patchbot/patchbot.py: Fix/reactivate is_ci_only --- sage_patchbot/patchbot.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sage_patchbot/patchbot.py b/sage_patchbot/patchbot.py index aa9e286..cf4c4e2 100755 --- a/sage_patchbot/patchbot.py +++ b/sage_patchbot/patchbot.py @@ -55,7 +55,7 @@ from .util import (now_str, prune_pending, do_or_die, get_sage_version, current_reports, git_commit, # branch_updates_some_package, - # branch_updates_only_ci, + branch_updates_only_ci, describe_branch, comparable_version, temp_build_suffix, ensure_free_space, get_python_version, ConfigException, SkipTicket, TestsFailed) @@ -1043,10 +1043,11 @@ def test_a_ticket(self, ticket=None): print("Ticket updates some package, hence not tested.") self.to_skip[ticket['id']] = time.time() + 240 * 60 * 60 - is_ci_only = False # branch_updates_only_ci() - # desactivated for now + is_ci_only = branch_updates_only_ci() - if not is_spkg and not is_ci_only: + if is_ci_only: + state = 'tested' + elif not is_spkg: # ------------- make ------------- if not self.config['skip_doc_clean']: do_or_die('{} doc-clean doc-uninstall'.format(botmake))