fix(ISV-6436): update metadata to support older Python versions #20
Workflow file for this run
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: | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| - name: Install tox | |
| run: | | |
| uv venv | |
| uv pip install tox | |
| - name: Start Kafka | |
| run: | | |
| docker compose up -d | |
| echo "Waiting for Kafka to be healthy..." | |
| timeout 120 bash -c 'until docker compose ps kafka | grep -q "healthy"; do sleep 2; done' | |
| echo "Kafka is healthy and ready for tests" | |
| - name: Run integration tests | |
| run: | | |
| uv run tox -e integration | |
| - name: Show Kafka logs on failure | |
| if: failure() | |
| run: | | |
| docker compose logs kafka | |
| - name: Cleanup | |
| if: always() | |
| run: | | |
| docker compose down -v |