forked from mtusi2026/mtusi2026lab2
Подготовить отчёт и материалы сдачи
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: Application integration
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
application:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.14.7'
|
||||
- run: python -m pip install uv==0.12.13
|
||||
- run: uv sync --locked
|
||||
- run: make bootstrap
|
||||
- run: VCS_REF=$(git rev-parse HEAD) docker compose --env-file .env -f compose.yaml -f compose.test.yaml up -d --build --wait
|
||||
- run: make check validate PYTHON=.venv/bin/python
|
||||
- run: PYTEST_ADDOPTS=--disable-warnings make lint test-student
|
||||
- run: make test PYTHON=.venv/bin/python
|
||||
- run: uv run --locked python scripts/verify_lifecycle.py --output /tmp/lifecycle-ci.json
|
||||
- if: always()
|
||||
run: docker compose --env-file .env -f compose.yaml -f compose.test.yaml down --volumes
|
||||
Reference in New Issue
Block a user