-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (48 loc) · 1.44 KB
/
main.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Robot Framework Testes Web
on: push
jobs:
test:
name: Run Testes
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: https://cristiancfe.github.io/RobotFramework-Web/report.html
steps:
- name: checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install robotframework
pip install robotframework-requests
pip install robotframework-faker
python3 -m pip install robotframework-seleniumlibrary
python -m pip install robotframework-seleniumlibrary
pip install --upgrade robotframework-seleniumlibrary
pip3 install --upgrade robotframework-seleniumlibrary
pip install setuptools
- name: Run Robot Frameworks testes
run: |
robot -d formulario Web/testes
- name: Arquive Robot Framework formulario
if: ${{always() }}
uses: actions/upload-artifact@v3
with:
name: Formulario-robot
path: ./formulario
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./formulario/
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v1