ЛР 4 — БВТ2303 — Брезгунова — на 5

This commit is contained in:
2026-10-29 13:02:56 +03:00
parent ec540a1a72
commit b78cadb893
73 changed files with 2076 additions and 36 deletions
+25
View File
@@ -0,0 +1,25 @@
name: lab4 solution
on: [push, pull_request]
permissions:
contents: read
jobs:
acceptance:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m pip install -r requirements-dev.txt
- run: python scripts/check_contract.py && python scripts/validate_openapi.py
- run: python scripts/setup.py
- run: docker compose --env-file .env -f compose.yaml -f compose.test.yaml --profile tests up -d --build api1 api2 lb fault-api sweeper
- run: python scripts/verify.py
- uses: actions/upload-artifact@v4
if: always()
with:
name: lab4-evidence
path: evidence/
- run: docker compose --env-file .env -f compose.yaml -f compose.test.yaml --profile tests down
if: always()