This commit is contained in:
parent
0839f7b60f
commit
4537689f87
1 changed files with 3 additions and 3 deletions
|
|
@ -1,12 +1,11 @@
|
|||
when:
|
||||
- event: [push]
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: python:3.11-slim
|
||||
commands:
|
||||
- pip install --no-cache-dir -r requirements.txt
|
||||
- pytest -q tests -p no:cacheprovider
|
||||
when:
|
||||
- event: [push, pull_request, manual]
|
||||
|
||||
deploy_no_docker:
|
||||
image: appleboy/drone-ssh
|
||||
|
|
@ -31,4 +30,5 @@ steps:
|
|||
- set +a
|
||||
- curl -fsS http://127.0.0.1:${APP_PORT}/health
|
||||
when:
|
||||
- event: [push, manual]
|
||||
- branch: [main, master]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue