add tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-03-31 21:52:26 +03:00
parent 80f5335886
commit 8f0667d160
2 changed files with 293 additions and 0 deletions

View File

@@ -3,6 +3,15 @@ when:
event: [push, manual]
steps:
test:
image: python:3.12-slim
commands:
- pip install --quiet -r requirements.txt
- python manage.py test backlogger --verbosity=2
environment:
DJANGO_SECRET_KEY: ci-test-key
DATABASE_URL: sqlite:///tmp/test.db
build-and-deploy:
image: docker:cli
volumes:
@@ -13,3 +22,4 @@ steps:
- cp -r . /opt/services/app/
- docker build -t k-boris-website /opt/services/app/
- docker compose -f /opt/services/docker-compose.yml up -d --no-deps django
depends_on: [test]