auto run tests
Some checks failed
Run Robot Framework Browser Tests / browser-tests (push) Failing after 2m8s
Some checks failed
Run Robot Framework Browser Tests / browser-tests (push) Failing after 2m8s
This commit is contained in:
29
.gitea/workflows/robot-tests.yml
Normal file
29
.gitea/workflows/robot-tests.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Run Robot Framework Browser Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
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.10'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
rfbrowser init # Download Playwright browsers
|
||||
|
||||
- name: Run Browser Tests
|
||||
run: |
|
||||
robot tests/
|
||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Results/output.xml
|
||||
Results/playwright-log.txt
|
||||
Results/report.html
|
||||
Reference in New Issue
Block a user