Files
mtusi2026lab6/.github/workflows/application.yml
T
2026-12-03 20:20:07 +03:00

20 lines
735 B
YAML

name: Application
on: [push, pull_request]
permissions:
contents: read
jobs:
smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -X utf8 scripts/setup.py
- run: docker compose up -d --build --wait --wait-timeout 180
- run: curl --fail --retry 20 --retry-all-errors --retry-delay 1 http://127.0.0.1:8080/health/ready
- run: curl --fail --retry 20 --retry-all-errors --retry-delay 1 http://127.0.0.1:13006/api/dashboards/uid/lab-messenger > /dev/null
- run: make test PYTHON='python -X utf8' BASE_URL=http://127.0.0.1:8080
- if: always()
run: docker compose down