forked from mtusi2026/mtusi2026lab4
Реализовать ЛР 4 на 3: приватное S3 и вложения — Гавриленко БПИ2303
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Application
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
application:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- run: python -m pip install Pillow==13.0.0 -r requirements-dev.txt
|
||||
- run: scripts/setup.sh && docker compose up -d --build --wait
|
||||
- run: make check validate test BASE_URL=http://localhost:8084
|
||||
- run: python student-tests/check.py --base-url http://localhost:8084
|
||||
- run: python student-tests/idempotency.py --base-url http://localhost:8084
|
||||
- run: python student-tests/attachments.py --base-url http://localhost:8084
|
||||
- run: docker compose exec -T api python - < student-tests/storage.py
|
||||
- run: make test-persistence BASE_URL=http://localhost:8084 ACTION_SCRIPT=scripts/restart.sh
|
||||
- run: make test-failover BASE_URL=http://localhost:8084 ACTION_SCRIPT=scripts/stop-one.sh
|
||||
- if: always()
|
||||
run: docker compose down
|
||||
Reference in New Issue
Block a user