Skip to content

corrigido deploy

corrigido deploy #6

Workflow file for this run

name: Pipeline
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{secrets.DATABASE_URL}}
SECRET_KEY: ${{secrets.SECRET_KEY}}
ALGORITHM: ${{secrets.ALGORITHM}}
ACCESS_TOKEN_EXPIRE_MINUTES: ${{secrets.ACCESS_TOKEN_EXPIRE_MINUTES}}
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 Poetry
run: pipx install poetry
- name: Instalar dependências
run: poetry install
- name: Executar os testes
run: poetry run task test