gunicorn/.github/workflows/embedding-integration.yml
dependabot[bot] 791ab46e1c
chore(deps): bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-01 23:47:36 +00:00

43 lines
947 B
YAML

name: Embedding Service Integration Tests
on:
push:
paths:
- 'examples/embedding_service/**'
- 'gunicorn/dirty/**'
pull_request:
paths:
- 'examples/embedding_service/**'
- 'gunicorn/dirty/**'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- name: Build and start service
run: |
cd examples/embedding_service
docker compose up -d --build
docker compose logs -f &
- name: Wait for healthy
run: |
for i in {1..30}; do
curl -s http://127.0.0.1:8000/health && break
sleep 2
done
- name: Run tests
run: |
pip install requests numpy
python examples/embedding_service/test_embedding.py
- name: Cleanup
if: always()
run: |
cd examples/embedding_service
docker compose down