Skip to content

Commit

Permalink
test: Ajusta Github Actions para Testes
Browse files Browse the repository at this point in the history
  • Loading branch information
rikemorais committed Sep 3, 2024
1 parent d023d91 commit 3fa6340
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
- name: Copiando os Arquivos do Repositório
uses: actions/checkout@v3

- name: Instalando o Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Instalando o Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Instalando o Poetry
run: pipx install poetry

- name: Instalando Dependências
run: poetry install
- name: Construindo e Subindo os Containers
run: docker-compose up -d --build

- name: Executando os Testes
run: poetry run task test
run: docker-compose run tests

- name: Derrubando os Containers
run: docker-compose down

0 comments on commit 3fa6340

Please sign in to comment.