Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tarathep/robotframework-github-action
Github action can be used to run Robot Framework tests.
https://github.com/tarathep/robotframework-github-action
github-actions robotframework test-automation tools
Last synced: 4 months ago
JSON representation
Github action can be used to run Robot Framework tests.
- Host: GitHub
- URL: https://github.com/tarathep/robotframework-github-action
- Owner: tarathep
- License: apache-2.0
- Created: 2021-08-20T08:28:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-24T04:27:33.000Z (over 3 years ago)
- Last Synced: 2024-09-30T19:05:00.217Z (4 months ago)
- Topics: github-actions, robotframework, test-automation, tools
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Robot Framework GitHub Action
Github action can be used to run Robot Framework tests.using https://hub.docker.com/r/ppodgorsek/robot-framework for base image.
## Custom on base ppodgorsek/robot-framework
can custom on ppodgorsek/robot-framework base image for install dependeincies or librariesThe versions used are:
- Robot Framework 4.1
- Robot Framework Browser Library 6.0.0
- Robot Framework DatabaseLibrary 1.2.4
- Robot Framework Datadriver 1.4.1
- Robot Framework DateTimeTZ 1.0.6
- Robot Framework Faker 5.0.0
- Robot Framework FTPLibrary 1.9
- Robot Framework IMAPLibrary 2 0.4.0
- Robot Framework Pabot 2.0.1
- Robot Framework Requests 0.9.1
- Robot Framework SeleniumLibrary 5.1.3
- Robot Framework SSHLibrary 3.7.0
- Axe Selenium Library 2.1.6
- Firefox ESR 78
- Chromium 86.0
- Amazon AWS CLI 1.20.6## Example usage
Run with chrome:
```yaml
jobs:
robot_test:
runs-on: ubuntu-latest
- name: Robot Framework
uses: tarathep/[email protected]
with:
tests_dir: '${{ github.workspace }}/tests/robot'
reports_dir: '${{ github.workspace }}/tests/robot/reports'
```Custom image in dependencies at Dockerfile and push image to DockerHub
```dockerfile
FROM ppodgorsek/robot-framework:latest
RUN pip install
RUN execute sh ..
```Example run with Custom image
```yaml
jobs:
robot_test:
runs-on: ubuntu-latest
- name: Robot Framework
uses: tarathep/[email protected]
with:
image: kietara/robot-framework
image_version: 1.0
tests_dir: '${{ github.workspace }}/tests/robot'
reports_dir: '${{ github.workspace }}/tests/robot/reports'
```## Configurations
Available configurations in with block:
| Name | Default | Description |
| ------------------------ | ------------- | ---------------------------------------------- |
| image | ppodgorsek/robot-framework | Custom image name for execute robot framework |
| image_version | latest | Custom tag verion image for execute robot framework |
| tests_dir | robot_tests | Directory where Robot tests are located in the repository |
| reports_dir | reports | Where will the report from test be saved |
| 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 |credit ref. https://github.com/joonvena/robotframework-docker-action