This commit is contained in:
11
.drone.yml
11
.drone.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user