add .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kim Oliver Drechsel 2021-08-07 20:50:43 +02:00
parent 7f04d5ddb9
commit 79e2a763ba

View File

@ -7,7 +7,7 @@ workspace:
steps: steps:
- name: test - name: test
image: python:3.8-alpine image: python:alpine
pull: if-not-exists pull: if-not-exists
environment: environment:
DEBUG_MODE: 'True' DEBUG_MODE: 'True'
@ -16,13 +16,10 @@ steps:
- apk --no-cache add gcc musl-dev tzdata - apk --no-cache add gcc musl-dev tzdata
- pip3 install --no-cache-dir -r requirements.txt - pip3 install --no-cache-dir -r requirements.txt
- echo "$DEBUG_MODE" - echo "$DEBUG_MODE"
- | - python3
python3 -c 'from loghandler import logger; - from loghandler import logger
def main(): - logger.debug("This is a Debug Message")
logger.debug("This is a Debug Message") - logger.info("This is a Info Message")
logger.info("This is a Info Message") - logger.warning("This is a Warning Message")
logger.warning("This is a Warning Message") - logger.error("This is a Error Message")
logger.error("This is a Error Message") - logger.critical("This is a Critical Message")
logger.critical("This is a Critical Message")
main()'