Github CI local runner
Simple tool for running github ci.yaml jobs
Installation:
pip install git+https://github.com/elb3k/githubci-runnerSample usage:
githubci-runner --ci-path .github/workflows/ci.yaml -j unit-tests --start-step "Set up Postgres" -vArguments:
--ci-path- path toci.ymlfile (default.github/workflows/ci.yml)-j- specified job name inside config file--start-step- start from the custom step (sometimes you want to skip github specific steps), if not specified start from the beginning-s- sleepXseconds in between steps--shell- which shell to use to run commands, default bash-v- for verbose operation
TODOs
- Include environmental variables - currently not supported, but processed will grab system-wide environmental variables.
- Automatically skip
github-actions- currently you have to specify exact step, to skip steps.
On this page
Contributors
Created October 29, 2021
Updated November 1, 2021