JulianaSilvaRossi is testing by trigger - manual #1
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: Run Web Tests | |
run-name: ${{ github.actor }} is testing by trigger - manual | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
type: string | |
description: informa a funcionalidade que será validada | |
required: true | |
jobs: | |
web-tests: | |
runs-on: ubuntu-20.04 | |
permissions: write-all | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U -r requirements.txt | |
- name: Command Test Execution | |
run: | | |
pabot --processes 4 -d ./resources/results -i ${{ inputs.tag }} ./tests/* | |
- name: Upload Tests Results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: results-tests | |
path: ./resources/results | |
if-no-files-found: ignore | |
retention-days: 7 | |
- name: Dowload Tests Results | |
if: always() | |
uses: actions/download-artifact@v3 | |
with: | |
name: results-tests | |