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

This commit is contained in:
Andrei Stoica 2023-05-15 21:52:27 -04:00
parent fff856afdc
commit 4dcd9aeada
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ steps:
from_secret: TESTING_DB
secrets: [TESTING_USER, TESTING_PASSWORD, TESTING_DB]
commands:
- cat POSTGRES_URL=0.0.0.0 >> .env
- cat POSTGRES_USER=${TESTING_USER} >> .env
- cat POSTGRES_PASSWORD=${TESTING_PASSWORD} >> .env
- cat POSTGRES_DB=${TESTING_DB} >> .env
- python -m venv .venv
- . .venv/bin/activate
- pip install -r requirements.txt