Add tests to pipeline

This commit is contained in:
Administrator 2022-03-30 11:18:03 +02:00
parent 983c01f67d
commit 7dc903d583

View File

@ -14,6 +14,16 @@ pipeline:
event: pull_request
# -------------------------------------- API --------------------------------------
test_api:
image: python
commands:
- cd api/
- pip install -r requirements.txt
- python -m pytest
when:
path: "api/*"
event: push
build_api:
image: woodpeckerci/plugin-docker-buildx
settings: