drone-ci testing
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Andrei Stoica 2023-05-15 22:33:48 -04:00
parent eb607b99d9
commit 8b0e1800da
1 changed files with 1 additions and 3 deletions

View File

@ -30,13 +30,11 @@ steps:
commands:
- hostip=$(ip route show | awk '/default/ {print $3}')
- export POSTGRES_URL=$hostip
- export POSTGRES_USER=$${POSTGRES_USER}
- export POSTGRES_PASSWORD=$${POSTGRES_PASSWORD}
- export POSTGRES_DB=$${POSTGRES_DB}
- python -m venv .venv
- . .venv/bin/activate
- pip install -r requirements.txt
- pip install .
- pytest
- name: db-down
image: docker/compose:alpine-1.29.2
volumes: