28 lines
730 B
YAML
28 lines
730 B
YAML
jobs:
|
|
browser-tests:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.13'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -r requirements.txt
|
|
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/
|