Skip to content
play

GitHub Action

brn Robot Framework

v1 Latest version

brn Robot Framework

play

brn Robot Framework

brn Run Robot Framework tests

Installation

Copy and paste the following snippet into your .yml file.

              

- name: brn Robot Framework

uses: brnorg/robot-framework@v1

Learn more about this action in brnorg/robot-framework

Choose a version

Robot Framework Docker Action

Example usage

Run with chrome:

  robot_test:
    runs-on: ubuntu-latest
    name: Run Robot Framework Tests
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Robot Framework
        uses: brnorg/robot-framework@v1.0

Run with firefox and in parallel:

  robot_test:
    runs-on: ubuntu-latest
    name: Run Robot Framework Tests
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Robot Framework
        uses: joonvena/robotframework-docker-action@v1.0
        with:
          browser: 'firefox'
          robot_threads: 2

Available configurations in with block:

Name Default Description
allowed_shared_memory '1g' How much container can use shared memory
browser 'chrome' Available options chrome / firefox
robot_threads 1 Change this > 1 if you want to run tests in parallel
pabot_options '' These are only used if robot_threads > 1
robot_options '' Pass extra settings for robot command
screen_color_depth 24 Color depth of the virtual screen
screen_height 1080 Height of the virtual screen
screen_width 1920 Width of the virtual screen
robot_tests_dir 'robot_tests' Location of tests inside repository
robot_reports_dir 'reports' Location of report output from test execution
robot_runner_image 'ppodgorsek/robot-framework:latest' Docker image which will be used to execute the tests
robot_runner_image 'ppodgorsek/robot-framework:latest' Docker image which will be used to execute the tests
robot_requirements '' File with requirements.txt