24 lines
1.0 KiB
YAML
24 lines
1.0 KiB
YAML
name: Application integration
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
application:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
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 BASE_URL=http://localhost:8085
|
|
- 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 unit
|
|
- run: make test BASE_URL=http://localhost:8085
|
|
- run: uv run --locked python scripts/verify_cluster.py --base-url http://localhost:8085 --output /tmp/cluster-ci.json
|
|
- run: uv run python scripts/verify_pipeline.py --base-url http://localhost:8085 --output /tmp/pipeline-ci.json
|
|
- if: always()
|
|
run: docker compose --env-file .env -f compose.yaml -f compose.test.yaml down
|