-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (45 loc) · 1.69 KB
/
pipeline.yaml
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
56
name: Pipleline
on: [push, pull_request]
jobs:
test_robot:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Copiar os arquivos do projeto
uses: actions/[email protected]
- name: Instalar o python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Instalar o NodeJS
uses: actions/setup-node@v4
- name: Instalar as Bibliotecas do projeto
run: |
python -m pip install --upgrade pip
pip install -U -r requirements.txt
sudo npm install @playwright/test
sudo npx playwright install-deps
rfbrowser init
- name: Execução dos testes
run: |
robot -d ./results -v HEADLESS:true tests
- name: Upload das evidências de teste
if: always()
uses: actions/upload-artifact@v3
with:
name: resultado dos testes
path: ./results
if-no-files-found: ignore
retention-days: 2
- name: Resultado do Download
if: always()
uses: actions/download-artifact@v1
with:
name: resultado dos testes
- name: Enviar relatorio
if: always()
uses: joonvena/[email protected]
with:
report_path: resultado dos testes
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
show_passed_tests: false