drone-ci testing
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2023-05-15 22:54:19 -04:00
parent c2aab348ca
commit 4a51622c7e

View File

@@ -20,6 +20,13 @@ steps:
commands:
- docker-compose -p rgraph-test up -d
- name: requirements
image: python:3.10-alpine
- python -m venv .venv
- . .venv/bin/activate
- pip install -r requirements.txt
- pip install .
- name: test
image: python:3.10-alpine
environment:
@@ -32,10 +39,6 @@ steps:
commands:
- hostip=$(ip route show | awk '/default/ {print $3}')
- export POSTGRES_URL=$hostip
- python -m venv .venv
- . .venv/bin/activate
- pip install -r requirements.txt
- pip install .
- pytest
- name: db-cleanup
image: docker/compose:alpine-1.29.2