update drone.yml

This commit is contained in:
2023-06-30 08:42:30 +02:00
parent e6286cc799
commit a3be7bd0f4

View File

@@ -2,6 +2,16 @@ kind: pipeline
type: docker type: docker
name: backend 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: steps:
- name: test - name: test
image: python:3.11-buster image: python:3.11-buster
@@ -9,8 +19,3 @@ steps:
- pip install --no-cache-dir . - pip install --no-cache-dir .
- pip install --no-cache-dir pytest - pip install --no-cache-dir pytest
- pytest -v -log_cli=True --log-cli-level=INFO tests - pytest -v -log_cli=True --log-cli-level=INFO tests
environment:
MONGO_USER: ''
MONGO_PASSWD: ''
MONGO_URI: ''
MONGO_USER: ''