Add tests to pipeline
This commit is contained in:
parent
983c01f67d
commit
7dc903d583
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user