add basic use

This commit is contained in:
2024-10-27 13:22:04 +01:00
parent 54f1dbbf3c
commit 1a62638d34
4 changed files with 57 additions and 9 deletions

23
.drone.yml Normal file
View File

@@ -0,0 +1,23 @@
---
kind: pipeline
type: exec
name: unittests
platform:
os: linux
arch: amd64
steps:
- name: init venv
commands:
- /usr/bin/python3 -m venv .venv
- . .venv/bin/activate
- name: install requirements
commands:
- .venv/bin/pip3 install -r requirements.txt
- name: run unittests
commands:
- .venv/bin/python3 -m CaddyAPI
node:
server: testing