mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
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
|
@ -550,8 +550,11 @@ def arguments_ci(subparser):
|
|||
ret = subparser.add_parser("ci", help="run continuous integration scripts"
|
||||
" locally of git repo in current"
|
||||
" directory")
|
||||
ret.add_argument("-a", "--all", action="store_true",
|
||||
help="run all scripts")
|
||||
script_args = ret.add_mutually_exclusive_group()
|
||||
script_args.add_argument("-a", "--all", action="store_true",
|
||||
help="run all scripts")
|
||||
script_args.add_argument("-f", "--fast", action="store_true",
|
||||
help="run fast scripts only")
|
||||
ret.add_argument("scripts", nargs="*", metavar="script",
|
||||
help="name of the CI script to run, depending on the git"
|
||||
" repository")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue