-
Notifications
You must be signed in to change notification settings - Fork 26
Support a task that runs a list of tasks #89
Copy link
Copy link
Open
Description
This is cool. Thank you.
I'd like to create a task that runs a list of tasks. Here ci:
[tool.taskipy.settings]
cwd = "." # run all tasks in the project root directory
runner = "uv run --group" # https://github.com/taskipy/taskipy/blob/master/docs/ADVANCED_FEATURES.md#custom-runners
[tool.taskipy.tasks]
# all tasks run in the task runner context
ci = { tasks = ["lint", "fmt", "typed", "test"], help = "runs lint, format, type-checks and tests" }
fmt = { cmd = "style ruff format .", help = "formats Python code using ruff" }
lint = { cmd = "style ruff check .", help = "confirms Python code style using ruff" }
test = { cmd = "test pytest", help = "runs all unit tests for Python." }
typed = { cmd = "test pytype --job auto", help = "runs standards-based static type checker for Python." }
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels