Завершить уровень 4: проверить ошибки, ограничить память и автоматизировать сверку S3

This commit is contained in:
2026-10-30 17:47:29 +03:00
parent 4f85fb96a6
commit 9dded977a5
25 changed files with 1213 additions and 90 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Application lab4
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python scripts/bootstrap.py
- run: docker compose build api s3
- run: docker compose up -d
- run: python scripts/wait_ready.py --base-url http://localhost:8084 --replicas 2
- run: make check test PYTHON=python BASE_URL=http://localhost:8084
- run: docker compose run --rm --no-deps -T -v "$PWD:/suite:ro" -w /suite api python student-tests/test_attachments.py
- run: docker compose run --rm --no-deps -T -v "$PWD:/suite:ro" -w /suite api python student-tests/test_reconcile.py
- run: chmod +x scripts/restart.sh scripts/stop-one.sh
- run: make test-persistence PYTHON=python BASE_URL=http://localhost:8084 ACTION_SCRIPT=scripts/restart.sh
- if: always()
run: docker compose down