forked from mtusi2026/mtusi2026lab3
23 lines
824 B
YAML
23 lines
824 B
YAML
name: Application integration
|
|
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.14.7'
|
|
- run: python -m pip install uv==0.12.13
|
|
- run: uv sync --locked
|
|
- run: make bootstrap lint check
|
|
- run: VCS_REF=$(git rev-parse HEAD) docker compose --env-file .env -f compose.yaml -f compose.test.yaml up -d --build --wait
|
|
- run: PYTEST_ADDOPTS=--disable-warnings make test-student
|
|
- run: make test
|
|
- run: uv run --locked python scripts/verify_cluster.py --output /tmp/cluster-ci.json
|
|
- if: always()
|
|
run: docker compose --env-file .env -f compose.yaml -f compose.test.yaml down
|