Workflow ci.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Robot Framework Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: E2E Tests 🤖🤖 | |
steps: | |
- name: Checkout 🚀🚀 | |
uses: actions/checkout@v4 | |
- name: Install dependencies ➕➕ | |
run: pip install -r requirements.txt | |
- name: Initialize Browser Library (Playwright) | |
run: rfbrowser init | |
- name: E2E Tests 🧪🧪 | |
run: robot -d ./reports tests/ | |
- name: Upload Reports 📖📖 | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: Test Execution Reports | |
path: reports | |
retention-days: 90 | |
if-no-files-found: warn |