Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/merge-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ env:
TENSORZERO_E2E_PROXY: http://localhost:3003
TENSORZERO_COMMIT_TAG: sha-${{ github.sha }}
TENSORZERO_CI: 1
# Nextest filter expression for flaky tests to skip (e.g. "test(hyperbolic)|test(tgi)")
CARGO_NEXTEST_FLAKY_TESTS: ${{ vars.CARGO_NEXTEST_FLAKY_TESTS }}

jobs:
live-tests:
Expand Down
3 changes: 2 additions & 1 deletion tensorzero-core/tests/e2e/Dockerfile.live
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ COPY --from=builder /usr/local/cargo/git /usr/local/cargo/git
ENV CI=true

# Set the entrypoint to run tests from archive with absolute config file path and e2e profile
CMD ["cargo", "nextest", "run", "--no-fail-fast", "--archive-file", "tests.tar.zst", "--workspace-remap", "/app", "--config-file", "/app/.config/nextest.toml", "--profile", "e2e", "-j", "32"]
# If CARGO_NEXTEST_FLAKY_TESTS is set, exclude those tests using -E filter
CMD ["sh", "-c", "cargo nextest run --no-fail-fast --archive-file tests.tar.zst --workspace-remap /app --config-file /app/.config/nextest.toml --profile e2e -j 32 ${CARGO_NEXTEST_FLAKY_TESTS:+-E \"not ($CARGO_NEXTEST_FLAKY_TESTS)\"}"]
2 changes: 2 additions & 0 deletions tensorzero-core/tests/e2e/docker-compose.live.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ services:
XAI_API_KEY: ${XAI_API_KEY:-}
# Buildkite analytics
BUILDKITE_ANALYTICS_TOKEN: ${BUILDKITE_ANALYTICS_TOKEN:-}
# Flaky tests to skip (nextest filter expression, e.g. "test(hyperbolic)|test(tgi)")
CARGO_NEXTEST_FLAKY_TESTS: ${CARGO_NEXTEST_FLAKY_TESTS:-}
volumes:
- ../../../gcp_jwt_key.json:/app/gcp_jwt_key.json:ro
- ./config:/app/tensorzero-core/tests/e2e/config:ro
Expand Down
Loading