-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.42 KB
/
daily-e2e-robotrun.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: E2E regression tests
on:
schedule:
- cron: '0 0 * * *' # This cron schedule runs the workflow every day at midnight UTC
workflow_dispatch:
jobs:
e2e-robot-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/robot_framework/requirements.txt --use-deprecated=legacy-resolver
rfbrowser init
- name: Execute E2E tests (Robot Framework)
env:
OTP_SECRET_WOO: ${{ secrets.OTP_SECRET_WOO }}
USERNAME_WOO_STAGING: ${{ secrets.USERNAME_WOO_STAGING }}
PASSWORD_WOO_STAGING: ${{ secrets.PASSWORD_WOO_STAGING }}
USERNAME_WOO_TEST: ${{ secrets.USERNAME_WOO_TEST }}
PASSWORD_WOO_TEST: ${{ secrets.PASSWORD_WOO_TEST }}
EMAIL_WOO_TEST_BALIE: ${{ secrets.EMAIL_WOO_TEST_BALIE }}
PASSWORD_WOO_TEST_BALIE: ${{ secrets.PASSWORD_WOO_TEST_BALIE }}
SECRET_WOO_TEST_BALIE: ${{ secrets.SECRET_WOO_TEST_BALIE }}
run: |
python -m robot -d tests/robot_framework/results -x outputxunit.xml -i E2E -e LOGS -v headless:true tests/robot_framework
- name: Upload test results
uses: actions/upload-artifact@v3
if: always()
with:
name: reports
path: tests/robot_framework/results
# - name: echo environment
# run: echo "Testing on env: ${{ github.event.inputs.env }}"