Refatorar rota de exclusão de pedido para utilizar identificador como… #33
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: Continuos Integration -Testing - Potiguar API | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
continuos-integration: | |
name: Continuos Integration - Testing and Deploy | |
runs-on: ubuntu-latest | |
environment: potiguar-api-test | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.X' | |
- name: Install dependencies with poetry | |
run: | | |
python -m pip install --upgrade pip | |
pip install poetry | |
poetry install | |
- name: Install libs for testing | |
run: | | |
poetry install | |
- name: Run tests unit - Testing - Potiguar API | |
run: | | |
poetry run pytest |