Skip to content

Fe tests robot framework gh actions #1

Fe tests robot framework gh actions

Fe tests robot framework gh actions #1

Workflow file for this run

name: Robot Framework CI
# Borrowed code from
# https://piyathida-sanaoun01.medium.com/how-to-setup-ci-github-action-to-run-robot-framework-49028a404fee
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
Run-Test:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v1
- uses: actions/cache@v2
id: cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-test.txt') }}
- name: Install pip dependencies
run: |
pip install --upgrade pip
pip install -r requirements-test.txt
- name: Run Robot tests
run: ./run-robot-tests
- name: Publish test results
uses: actions/upload-artifact@v2
with:
name: robot-test-results
path: tests/robot/output