diff --git a/.woodpecker/pipeline.yml b/.woodpecker/pipeline.yml index 56f8cf8..34a73c9 100644 --- a/.woodpecker/pipeline.yml +++ b/.woodpecker/pipeline.yml @@ -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: