automation changes

This commit is contained in:
2025-05-25 15:37:59 +02:00
parent 7ae5ecea2e
commit c2cd631cf6
4 changed files with 13 additions and 13 deletions

View File

@@ -1,11 +1,3 @@
name: Run Robot Framework Browser Tests
on:
push:
branches:
- main
pull_request:
jobs:
browser-tests:
runs-on: ubuntu-latest
@@ -17,13 +9,19 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.13'
- name: Install dependencies
run: |
pip install -r requirements.txt
rfbrowser init # Download Playwright browsers
rfbrowser init
- name: Create variables.robot with secrets
run: |
echo "*** Variables ***" > tests/variables.robot
echo "\${testuser01} ${{ secrets.LOGIN_USERNAME }}" >> tests/variables.robot
echo "\${password} ${{ secrets.LOGIN_PASSWORD }}" >> tests/variables.robot
- name: Run Browser Tests
run: |
robot Tests/
robot tests/