chore(deps): bump the github-actions group across 1 directory with 5 updates #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 4 * * 1' # Weekly Monday 4am UTC | |
| workflow_dispatch: | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| services: | |
| streamline: | |
| image: ghcr.io/streamlinelabs/streamline:latest | |
| ports: | |
| - 9092:9092 | |
| - 9094:9094 | |
| options: >- | |
| --health-cmd "curl -f http://localhost:9094/health || exit 1" | |
| --health-interval 5s | |
| --health-timeout 5s | |
| --health-retries 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: pip install -e ".[dev]" kafka-python pytest-timeout | |
| - name: Wait for Streamline | |
| run: | | |
| for i in $(seq 1 30); do | |
| curl -sf http://localhost:9094/health && break | |
| echo "Waiting for Streamline... ($i/30)" | |
| sleep 2 | |
| done | |
| - name: Run integration tests | |
| run: pytest tests/ -v -m integration --timeout=60 | |
| env: | |
| STREAMLINE_BOOTSTRAP_SERVERS: localhost:9092 | |
| STREAMLINE_BOOTSTRAP: localhost:9092 | |
| STREAMLINE_HTTP_URL: http://localhost:9094 |