feat: ✨ adicionando CI com arquivos, poetry, dependencias e … #2
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: Pipeline | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Copia os arquivos do repositório | |
uses: actions/checkout@v3 | |
- name: Instalar o python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Instalar o python | |
run: pipx install poetry | |
- name: Instalar as dependências | |
run: poetry install | |
- name: Rodar os testes | |
run: poetry run task test |