Skip to content

Commit

Permalink
setup python and chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
mrk-qa committed Feb 10, 2024
1 parent 3212c79 commit c5534c9
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/robot-ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
name: Robot Framework CI
name: Running Terratest and Deploy Report Github Pages

on: push

jobs:
test:
run_test:
runs-on: ubuntu-latest
name: Setup Python and Run Tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Robot Framework
uses: joonvena/robotframework-docker-action@v1.0
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
robot_tests_dir: 'tests'
python-version: '3.9'
- run: pip install -r requirements.txt
- uses: nanasess/setup-chromedriver@v2
with:
chromedriver-version: '121.0.6167.85'
- run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
name: Running Robot
- run: robot -d reports/ tests/*.robot

0 comments on commit c5534c9

Please sign in to comment.