add basic use
This commit is contained in:
23
.drone.yml
Normal file
23
.drone.yml
Normal 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
|
||||
Reference in New Issue
Block a user