Popper is a workflow execution engine based on Github Actions written in Python. With Popper, you can execute workflows locally on your machine without having to use Github’s platform. To get started, we first need to install the CLI tool using Pip:
pip install popper
Show which version you installed:
To get a list of available commands:
Create a Git repository¶
Create a project repository (if you are not familiar with Git, look here):
mkdir myproject cd myproject git init echo '# myproject' > README.md git add . git commit -m 'first commit'
Create a workflow¶
First, we create an example
.workflow file with a pre-defined
The above generates an example workflow that you can use as the starting point of your project. We first commit the files that got generated:
git add . git commit -m 'Adding example workflow.'
Run your workflow¶
To execute the workflow you just created:
You should see the output of actions printed to the terminal.
Continuously Run Your Workflow on Travis¶
popper ci travis
And commit the file:
git add .travis.yml git commit -m 'Adds TravisCI config file'
Trigger an execution by pushing to github:
Go to the TravisCI website to see your experiments being executed.