update drone.yml
This commit is contained in:
17
.drone.yml
17
.drone.yml
@@ -2,15 +2,20 @@ kind: pipeline
|
||||
type: docker
|
||||
name: backend
|
||||
|
||||
environment:
|
||||
MONGO_USER:
|
||||
from_secret: MONGO_USER
|
||||
MONGO_PASSWD:
|
||||
from_secret: MONGO_PASSWD
|
||||
MONGO_URI:
|
||||
from_secret: MONGO_URI
|
||||
MONGO_USER:
|
||||
from_secret: MONGO_USER
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: python:3.11-buster
|
||||
commands:
|
||||
- pip install --no-cache-dir .
|
||||
- pip install --no-cache-dir pytest
|
||||
- pytest -v -log_cli=True --log-cli-level=INFO tests
|
||||
environment:
|
||||
MONGO_USER: ''
|
||||
MONGO_PASSWD: ''
|
||||
MONGO_URI: ''
|
||||
MONGO_USER: ''
|
||||
- pytest -v -log_cli=True --log-cli-level=INFO tests
|
||||
Reference in New Issue
Block a user