Skip to content

Commit

Permalink
Atualizando o continuous-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thinogueiras committed Sep 16, 2023
1 parent eae96a3 commit 6797b9d
Showing 1 changed file with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
name: Robot Framework - E2E Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ develop ]
branches: [ main, develop ]

jobs:
e2e-tests:
runs-on: ubuntu-22.04
name: Robot Framework - E2E Tests 🤖

steps:
- name: Checkout 🛎
- name: Checkout 🚀
uses: actions/checkout@v3

- name: Install Robot Framework
- name: Install Robot Framework Dependencies
run: |
pip install robotframework
- name: Install Playwright (Library Browser)
run: |
pip install robotframework-browser
- name: Install Node Dependencies
- name: Initialize Browser Library
run: |
rfbrowser init
rfbrowser init
- name: E2E Tests ✅
run: |
robot -d ./logs -v BROWSER:chromium -v HEADLESS:true tests/
robot -d ./logs tests/
- name: Upload Reports 🚀
if: always()
- name: Upload Reports 📖
uses: actions/upload-artifact@v3
if: always()
with:
name: Execution Test Reports
name: Robot-Reports
path: logs/
retention-days: 30
if-no-files-found: warn

- name: Slack Notification - Success
Expand Down

0 comments on commit 6797b9d

Please sign in to comment.