Реализовать ЛР 4 на 3: приватное S3 и вложения — Гавриленко БПИ2303

This commit is contained in:
2026-11-13 01:54:11 +03:00
parent ec540a1a72
commit 53ea5b2faf
34 changed files with 1377 additions and 35 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Application
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- run: python -m pip install Pillow==13.0.0 -r requirements-dev.txt
- run: scripts/setup.sh && docker compose up -d --build --wait
- run: make check validate test BASE_URL=http://localhost:8084
- run: python student-tests/check.py --base-url http://localhost:8084
- run: python student-tests/idempotency.py --base-url http://localhost:8084
- run: python student-tests/attachments.py --base-url http://localhost:8084
- run: docker compose exec -T api python - < student-tests/storage.py
- run: make test-persistence BASE_URL=http://localhost:8084 ACTION_SCRIPT=scripts/restart.sh
- run: make test-failover BASE_URL=http://localhost:8084 ACTION_SCRIPT=scripts/stop-one.sh
- if: always()
run: docker compose down