From 3af3647b8418128840b603aed9ecd0e63710f8b5 Mon Sep 17 00:00:00 2001 From: JouwNaam Date: Sun, 25 May 2025 14:14:49 +0200 Subject: [PATCH] auto run tests --- .gitea/workflows/robot-tests.yml | 29 +++++++++++++++++++++++++++++ .gitignore | 3 +++ 2 files changed, 32 insertions(+) create mode 100644 .gitea/workflows/robot-tests.yml create mode 100644 .gitignore diff --git a/.gitea/workflows/robot-tests.yml b/.gitea/workflows/robot-tests.yml new file mode 100644 index 0000000..0cc06c7 --- /dev/null +++ b/.gitea/workflows/robot-tests.yml @@ -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/ diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9766068 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +Results/output.xml +Results/playwright-log.txt +Results/report.html