diff --git a/.github/workflows/continuous-testing.yml b/.github/workflows/continuous-testing.yml index 9d28f7e..f61686a 100644 --- a/.github/workflows/continuous-testing.yml +++ b/.github/workflows/continuous-testing.yml @@ -11,9 +11,6 @@ jobs: runs-on: ubuntu-latest name: API Tests ๐Ÿค–๐Ÿค– - env: - AUTH: ${{ secrets.AUTH }} - steps: - name: Checkout ๐Ÿš€๐Ÿš€ uses: actions/checkout@v4 @@ -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() diff --git a/resources/base.resource b/resources/base.resource index 6395763..dcf5deb 100644 --- a/resources/base.resource +++ b/resources/base.resource @@ -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}