Skip to content

corrigindo variaveis de ambiente ao CI #4

corrigindo variaveis de ambiente ao CI

corrigindo variaveis de ambiente ao CI #4

Workflow file for this run

name: Pipeline
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
DATABASE_URL: ${{secrets.sDATABASE_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