TCP networking perf + Aria hot-path batching #140
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: e2e | |
| on: | |
| pull_request: | |
| push: | |
| branches: ["main"] | |
| concurrency: | |
| group: e2e-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| e2e-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Docker info | |
| run: | | |
| docker version | |
| docker compose version | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.14" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools Cython | |
| cd styx-package && python setup.py build_ext --inplace && cd .. | |
| python -m pip install -r requirements.txt | |
| # Install Styx package from repo root | |
| python -m pip install -e styx-package/ | |
| - name: Make scripts executable | |
| run: | | |
| chmod +x scripts/start_styx_cluster.sh scripts/stop_styx_cluster.sh || true | |
| # Needed so Kafka advertises a reachable external listener | |
| - name: Set DOCKER_HOST_IP | |
| run: echo "DOCKER_HOST_IP=127.0.0.1" >> $GITHUB_ENV | |
| - name: Run e2e tests | |
| env: | |
| PYTHONUNBUFFERED: "1" | |
| run: | | |
| pytest tests/e2e/ -m e2e -q | |
| - name: Collect worker and coordinator logs (always) | |
| if: always() | |
| run: | | |
| mkdir -p artifacts | |
| if [ -d logs ]; then | |
| cp -r logs artifacts/ | |
| else | |
| echo "No logs folder found to copy." | |
| fi | |
| - name: Upload artifacts (always) | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-artifacts | |
| path: artifacts | |
| if-no-files-found: ignore |