Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

sage_patchbot/patchbot.py: Fix/reactivate is_ci_only #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions sage_patchbot/patchbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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))
Expand Down