Skip to content

Commit

Permalink
Remoção da dependência do arquivo env.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thinogueiras committed Mar 4, 2024
1 parent 4c195f7 commit ef8a858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/continuous-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
runs-on: ubuntu-latest
name: API Tests 🤖🤖

env:
AUTH: ${{ secrets.AUTH }}

steps:
- name: Checkout 🚀🚀
uses: actions/checkout@v4
Expand All @@ -22,7 +19,7 @@ jobs:
run: pip install -r requirements.txt

- name: API Tests 🧪🧪
run: robot -d ./reports -v AUTH:"${AUTH}" tests/
run: robot -d ./reports -v EMAIL:${{ secrets.EMAIL }} -v PASSWORD:${{ secrets.PASSWORD }} tests

- name: Upload Reports 📖📖
if: always()
Expand Down
4 changes: 2 additions & 2 deletions resources/base.resource
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Documentation Arquivo base do projeto

Resource services.resource

Variables ../env.yml

*** Variables ***
${BASE_URL} https://barrigarest.wcaquino.me
${EMAIL} %{EMAIL_USER_API}
${PASSWORD} %{PASSWORD_USER_API}
&{AUTH} email=${EMAIL} senha=${PASSWORD}
${TOKEN} ${EMPTY}

Expand Down

0 comments on commit ef8a858

Please sign in to comment.