Submission for the DEV: GitHub Actions For Open Source 🍕🍝🥕
Continuous Integration (CI) workflow for running Robot Framework RPA (Robotic Process Automation) tasks.
Task (this is not implemented using actions) searches recipe from foodie.fi site and returns the number of search results. GitHub Action workflows handle following:
- Basic CI (running tests for Pull Requests, commits to the main branch, and manually)
- Recipe Bot: When someone opens an issue to a GitHub project, recipe search is triggered, Bot closes the issue, and posts number of results as a comment. Bot is implemented using existing Action Issue matching auto-closer.
Demo: Find number of recipes in foodie.fi website
Demo project for running Robot Framework tasks in Docker and in GitHub Workflows.
- How to run Robot Framework Tasks using Docker without need to install Python and Robot Framework to a computer
- How to run Robot Framework Tasks in GitHub Workflow using GithubActions
- Automated runs for commits in the main branch and pull requests. Action can be also triggered manually (configuration: .github/workflows/trigger_search.yml)
- Run Tasks when a new issue is opened. Action uses issue title to search a recipe in foodie.fi/recipes and closes issue by commenting number of search results in a comment. This is the wacky wildcard submission for the DEV.to Hackathon 🍕🍝🥕.
Run Tasks locally using…
See also my other submission that implements similar CI for a Robot Framework project: Robot Framework - Configure CI using GitHub Actions. Both of these projects are intended as an example for someone who is building CI that runs Robot Frameworks tests/tasks.