Skip to content

chore(deps): bump the github-actions group across 1 directory with 5 updates #2

chore(deps): bump the github-actions group across 1 directory with 5 updates

chore(deps): bump the github-actions group across 1 directory with 5 updates #2

Workflow file for this run

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