RoboCon 2024

From Jenkins to GitHub Actions with Robot Framework: A Shared Action-Based Solution
2024-02-29 , RoboConOnline

Let's explore the possibilities of migrating the Robot Framework execution environment from Jenkins to GitHub Actions.
Our solution leverages actions, all sharable within our company, for setup, test execution, result analysis (with proper formatting within GitHub Job Summary), as well as result propagation into our test management tool Jira.


We are faced with the challenge of leaving the familiar Bitbucket environment for our repositories and Jenkins for test execution in favor of cloud solution from GitHub with GitHub Actions.
Our goal is to introduce to you our concept, thanks to which we can gradually move individual projects - individual repositories to GitHub and use the launch of tests directly within the repository using GitHub Actions.
As runners, we use our own Linux images running in the OpenShift 4 platform. At this moment, we benefit from GitHub caching capabilities for quick install and setup of current environment for testing.
We created separate Actions that we share within the organization and that provide us with the necessary steps:
Preparation of the environment, including Python installation, setting up Robot Framework, Browser Library, and making necessary tweaks such as proxy settings.
Test Execution through a shared action, saving results to an artifact, and displaying an extract in the GitHub Job Summary.
Importing results to Jira This action ensures the results are written using Xray for our reporting tool.

During this talk, we will be happy to show you what challenges and technological limitations we faced, how we solved them and how we use this new approach in our company on day-to-day basis.
We're hopeful that our experience can inspire other teams facing similar scenarios.


Describe your intended audience:

Developers or DevOps teams interested in transitioning from Bitbucket and Jenkins to GitHub and GitHub Actions.
Those who are keen on improving their automation skillsets, especially with regards to testing.
Tech teams grappling with similar technological constraints, who could benefit from discovering our problem-solving approaches.
And anyone excited to learn about practical usage of Git Hub Actions and GitHub Job Summary with Robot Framework.

Is this suitable for ..?:

Beginner RF user, Intermediate RF user

Specializing in Python programming and automated testing with the Robot Framework, I have been on the front lines of the tech industry for 7 years. My passion for coding, coupled with a knack for problem-solving, helps me provide quality automated solutions. Excited to share my journey and inspire others in the field!