• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

refenv / cijoe / 13389955705

18 Feb 2025 11:54AM UTC coverage: 64.856% (+0.3%) from 64.525%
13389955705

push

github

safl
feat(cli): add subparsers for workflows and scripts

This commit changes the way cijoe scripts and workflows are run. The
interface is now `cijoe [target] [...options]`, where `target` is either a path
to a stand-alone cijoe script, the identifier for a cijoe script, or the path to
a cijoe workflow.

If `target` is referencing a stand-alone script, additional cli args can be
defined by adding a function to the cijoe script file of the form
`add_args(parser: ArgumentParser)`.
This will allow us to remove the `step` argument in the cijoe script main function
at a later point.

If `target` is referencing a workflow file, additional positional arguments will be
treated as step arguments, defining which steps in the workflow will be run.

Signed-off-by: Nadja Brix Koch <n.koch@samsung.com>

265 of 352 branches covered (75.28%)

Branch coverage included in aggregate %.

62 of 99 new or added lines in 3 files covered. (62.63%)

8 existing lines in 1 file now uncovered.

1239 of 1967 relevant lines covered (62.99%)

0.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.27
/src/cijoe/core/scripts/example_script_default.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc