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:
NOTE: Any version greater than 2.0 is currently officially supported.
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 mypaper cd mypaper git init echo '# mypaper' > README.md git add . git commit -m 'first commit'
Create a workflow¶
We need to create a
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.' git push
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 --service 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.