ЛР 2: PostgreSQL и постоянные сессии — Гавриленко БПИ2303, на 3

This commit is contained in:
2026-11-13 01:27:52 +03:00
parent 65003b6119
commit 40bcd42aa3
19 changed files with 682 additions and 31 deletions
+12 -1
View File
@@ -13,4 +13,15 @@ jobs:
- run: python -m pip install -r requirements-dev.txt
- run: make check validate PYTHON=python
# This job validates the skeleton, not a student solution.
# Add build, readiness and make test in a separate application job.
application:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: scripts/setup.sh
- run: docker compose up -d --build --wait
- run: make test BASE_URL=http://localhost:8082
- run: python3 student-tests/check.py --base-url http://localhost:8082
- run: docker compose exec -T api python - < student-tests/db_check.py
- run: make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=http://localhost:8082
- if: always()
run: docker compose down