[+] Completed lab 2

This commit is contained in:
Антон Архипов
2026-11-16 16:01:24 +03:00
parent 65003b6119
commit f77e500ccf
46 changed files with 4532 additions and 45 deletions
+20 -2
View File
@@ -12,5 +12,23 @@ jobs:
python-version: '3.12'
- 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
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Build and start the stand
run: |
sh scripts/init-env.sh
docker compose config --quiet
docker compose build migrate
docker compose up -d --no-build --wait --wait-timeout 90
- name: Check public API and persistence
run: |
make test
make test-persistence ACTION_SCRIPT=scripts/restart.sh
- name: Show services and remove test data
if: always()
run: |
docker compose ps --all || true
docker compose down -v