Skip to content

🧱 ci: add workflow to test postgres database containerization #3

🧱 ci: add workflow to test postgres database containerization

🧱 ci: add workflow to test postgres database containerization #3

name: CI Pipeline for Database
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: Checkout código
uses: actions/checkout@v3
- name: Configurar variáveis de ambiente
run: cp .env.template .env
- name: Subir banco com Docker Compose
run: docker compose up -d
- name: Testar conexão com banco
run: docker exec unimancer_postgres psql -U postgres -d postgres -c '\l'