Skip to content

Commit

Permalink
Ajuste do pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
thinogueiras committed Mar 10, 2024
1 parent a204b4e commit 1b0be39
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/continuous-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
run: robot -d ./reports -v EMAIL:${{ secrets.EMAIL }} -v PASSWORD:${{ secrets.PASSWORD }} tests

- name: Publish Robot Reports 📄📄
if: always()
uses: actions/upload-artifact@v4
if: always()
with:
name: Robot-Reports
path: ./reports/
path: reports
retention-days: 90
if-no-files-found: warn

Expand Down Expand Up @@ -68,33 +68,14 @@ jobs:
name: Reports 📄📄
steps:
- uses: actions/checkout@v4

- name: Download Robot Reports
uses: actions/download-artifact@v4
with:
name: Robot-Reports
path: ./reports/
path: reports

- name: Send report to commit
uses: joonvena/robotframework-reporter-action@v2.4
with:
gh_access_token: ${{ secrets.GITHUB_TOKEN }}

deploy:
needs: [reports]
runs-on: ubuntu-latest
name: Deploy Reports 🚀📄
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure GitHub Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./reports/

- name: Deploy Reports To GitHub Pages
uses: actions/deploy-pages@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
gh_access_token: ${{ secrets.GITHUB_TOKEN }}

1 comment on commit 1b0be39

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
15 0 0 15 100 615.541999ms

Passed Tests

Name ⏱️ Duration Suite
Deve retornar todas as contas 0.028 s Accounts
Deve editar uma conta 0.050 s Accounts
Deve inserir uma conta 0.026 s Accounts
Não deve inserir uma conta com mesmo nome 0.025 s Accounts
Não deve remover conta com movimentação 0.051 s Accounts
Deve exigir autenticação 0.064 s Authorization
Deve validar o saldo da conta 0.049 s Balance
Deve retornar todas as Movimentações 0.026 s Movement
Deve inserir movimentação 0.068 s Movement
Deve validar os campos obrigatórios para a inserção de uma movimentação 0.022 s Movement
Não deve inserir movimentação com data futura 0.071 s Movement
Deve remover uma movimentação 0.047 s Movement
Deve validar o JSON Schema para Contas 0.029 s Schema
Deve validar o JSON Schema para Saldo 0.029 s Schema
Deve validar o JSON Schema para Movimentações 0.030 s Schema

Please sign in to comment.