This commit is contained in:
parent
8cb0554696
commit
adada84e9a
11
.drone.yml
11
.drone.yml
@ -3,6 +3,17 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: python:3.10
|
||||||
|
commands:
|
||||||
|
- pip3 install poetry
|
||||||
|
- poetry install --no-root
|
||||||
|
- export SECRET_KEY=$(openssl rand -hex 32)
|
||||||
|
- export DATABASE_URL=sqlite://$(mktemp)/db.sqlite3
|
||||||
|
- poetry run ./manage.py test
|
||||||
|
environment:
|
||||||
|
ALLOWED_HOSTS: localhost,127.0.0.1
|
||||||
|
DEBUG: True
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: caprover/cli-caprover:2.2.3
|
image: caprover/cli-caprover:2.2.3
|
||||||
commands:
|
commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user