-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2dc6cde
commit aa5208d
Showing
6 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,12 @@ jobs: | |
run: | | ||
echo "Listando os arquivos do meu diretorio" | ||
ls ${{ github.workspace }} | ||
- run: echo "🍏 This job's status is ${{ job.status }}." | ||
- run: echo "🍏 This job's status is ${{ job.status }}." | ||
|
||
- name: Send Report | ||
if: always() | ||
uses: joonvena/[email protected] | ||
with: | ||
report-path: results-tests | ||
gh_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
show_passed_tests: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,10 +39,3 @@ jobs: | |
with: | ||
name: results-tests | ||
|
||
- name: Send Report | ||
if: always() | ||
uses: joonvena/[email protected] | ||
with: | ||
report-path: results-tests | ||
gh_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
show_passed_tests: false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
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 | ||
|
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
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
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