Завершить PostgreSQL, Redis-сессии, миграции, таймауты и диагностику. Зафиксировать собственные тесты и доказательства финального прогона: 43 PASS, 0 FAIL, 0 SKIP; 768 HTTP-запросов без ошибок. Добавить официальный отчёт с запуском, архитектурой, SQL-планами и ограничениями. PR отложен до завершения уровня 5.
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: Lab2 application
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
application:
|
|
# This label requires an isolated disposable VM with its own Docker daemon.
|
|
# Do not attach PR jobs to a shared Docker host (CONTRIBUTING.md).
|
|
runs-on: lab2-isolated-docker
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- uses: https://github.com/actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
cache: false
|
|
- uses: https://github.com/actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Install test dependencies
|
|
run: ./scripts/setup-tests.sh
|
|
- name: Build and verify disposable application stack
|
|
run: .venv/bin/python student-tests/stack.py verify --output student-tests/output/ci
|
|
- name: Print sanitized result
|
|
if: always()
|
|
run: |
|
|
if [ -f student-tests/output/ci/summary.json ]; then
|
|
cat student-tests/output/ci/summary.json
|
|
fi
|