drone-ci testing
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
This commit is contained in:
parent
c2aab348ca
commit
4a51622c7e
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue