From 67e1170b01b4c4c19d44c1ba1953a31d736e1dec Mon Sep 17 00:00:00 2001 From: pefontana Date: Wed, 1 Apr 2026 17:26:13 -0300 Subject: [PATCH] ci: add e2e test workflow Separate workflow for gateway e2e tests, runs on push/PR to main. Same Python 3.11 + uv setup as existing tests.yml but targets only tests/e2e/ with verbose output. --- .github/workflows/e2e-tests.yml | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/e2e-tests.yml diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml new file mode 100644 index 000000000..42b1a6965 --- /dev/null +++ b/.github/workflows/e2e-tests.yml @@ -0,0 +1,40 @@ +name: E2E Tests + +on: + push: + branches: [main] + pull_request: + branches: [main] + +concurrency: + group: e2e-tests-${{ github.ref }} + cancel-in-progress: true + +jobs: + e2e: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install uv + uses: astral-sh/setup-uv@v5 + + - name: Set up Python 3.11 + run: uv python install 3.11 + + - name: Install dependencies + run: | + uv venv .venv --python 3.11 + source .venv/bin/activate + uv pip install -e ".[all,dev]" + + - name: Run e2e tests + run: | + source .venv/bin/activate + python -m pytest tests/e2e/ -v --tb=short + env: + OPENROUTER_API_KEY: "" + OPENAI_API_KEY: "" + NOUS_API_KEY: ""