add headlesschrome #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Running Terratest and Deploy Report Github Pages | |
on: push | |
jobs: | |
run_test: | |
runs-on: ubuntu-latest | |
name: Setup Python and Run Tests | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
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 |