forked from Mirror/pmbootstrap
pmb ci: add --fast argument
Make it easy to only run the fast tests. Reviewed-by: Luca Weiss <luca@z3ntu.xyz> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20221111072354.3431-3-ollieparanoid@postmarketos.org%3E
This commit is contained in:
parent
3fd22104a8
commit
315621d5b8
2 changed files with 10 additions and 2 deletions
|
@ -656,6 +656,11 @@ def ci(args):
|
|||
elif args.all:
|
||||
scripts_selected = scripts_available
|
||||
|
||||
if args.fast:
|
||||
for script, script_data in scripts_available.items():
|
||||
if "slow" not in script_data["options"]:
|
||||
scripts_selected[script] = script_data
|
||||
|
||||
if not pmb.helpers.git.clean_worktree(args, topdir):
|
||||
logging.warning("WARNING: this git repository has uncommitted changes")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue