ЛР6: наблюдаемость, сквозные traces и исследование sampling
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
|
||||
env:
|
||||
BASE_URL: http://127.0.0.1:18093
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- run: python3 scripts/bootstrap.py
|
||||
- run: docker compose build api
|
||||
- run: docker compose up -d --wait
|
||||
- run: python3 scripts/wait_ready.py
|
||||
- run: make check test test-student BASE_URL=$BASE_URL
|
||||
- run: make test-observability BASE_URL=$BASE_URL
|
||||
- run: make test-persistence BASE_URL=$BASE_URL ACTION_SCRIPT=scripts/restart.sh
|
||||
- if: always()
|
||||
run: docker compose down -v
|
||||
Reference in New Issue
Block a user