Skip to content

Commit

Permalink
Workflow testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Nov 26, 2024
1 parent 158cfbc commit 992f6d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions util/ci/pull_request_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ def _get_all_keyboards_and_keymaps():
exception = None

try:
oldcwd = os.getcwd()
os.chdir(os.environ["QMK_HOME"])

oldlevel = qmk_cli_loader.set_log_level(logging.ERROR)
all_targets = search_keymap_targets([("all", "all")])
except Exception as exc:
return (set(), set(), exc)
finally:
os.chdir(oldcwd)
qmk_cli_loader.set_log_level(oldlevel)

try:
Expand Down

0 comments on commit 992f6d8

Please sign in to comment.