Реализовать лабораторную 3 на основе lab2: балансировка и идемпотентность

This commit is contained in:
Владислав Гавриленко
2026-11-13 01:30:14 +03:00
parent 0ab3a341aa
commit 4322edcbec
21 changed files with 870 additions and 31 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Application
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: scripts/setup.sh
- run: docker compose up -d --build --wait
- run: make check test BASE_URL=http://localhost:8083
- run: python3 student-tests/check.py --base-url http://localhost:8083
- run: python3 student-tests/idempotency.py --base-url http://localhost:8083
- run: docker compose exec -T api python - < student-tests/db_check.py
- name: Stop stack
if: always()
run: docker compose down