Skip to content

Commit 89908ed

Browse files
committed
feat: use --typescript-only flag to skip Python tests
Use the new --typescript-only flag added to llama-stack's integration-tests.sh script. This allows the TypeScript client CI to run only TypeScript tests without being blocked by Python test failures. The workflow now: - Skips all Python/pytest execution - Only runs TypeScript client tests via the llama-stack test infrastructure - Uses replay mode with pre-recorded API responses This resolves the issue where Python client version mismatches (0.3.0 vs 0.4.0.dev0) were causing all tests to fail and preventing TypeScript tests from running.
1 parent b222307 commit 89908ed

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/integration-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Integration Tests (Client-side)
22

3-
run-name: Run integration tests from llama-stack using local TypeScript client
3+
run-name: Run TypeScript client tests from llama-stack (replay mode)
44

55
on:
66
push:
@@ -102,26 +102,26 @@ jobs:
102102
free -h
103103
df -h
104104
105-
- name: Run Integration Tests (Replay Mode)
105+
- name: Run Integration Tests (TypeScript only)
106106
working-directory: llama-stack
107107
env:
108108
OPENAI_API_KEY: dummy
109109
TS_CLIENT_PATH: ${{ github.workspace }}/llama-stack-client-typescript
110110
run: |
111111
STACK_CONFIG="server:ci-tests"
112112
113-
SCRIPT_ARGS="--stack-config $STACK_CONFIG --inference-mode replay"
113+
SCRIPT_ARGS="--stack-config $STACK_CONFIG --inference-mode replay --typescript-only"
114114
115115
# Add suite and setup arguments
116116
SCRIPT_ARGS="$SCRIPT_ARGS --setup ${{ matrix.setup }}"
117117
SCRIPT_ARGS="$SCRIPT_ARGS --suite ${{ matrix.suite }}"
118118
119-
echo "=== Running integration tests with TypeScript client ==="
119+
echo "=== Running TypeScript client tests only ==="
120120
echo "Client path: $TS_CLIENT_PATH"
121121
echo "Command: uv run --no-sync ./scripts/integration-tests.sh $SCRIPT_ARGS"
122122
echo ""
123123
124-
uv run --no-sync ./scripts/integration-tests.sh $SCRIPT_ARGS | tee pytest-replay.log
124+
uv run --no-sync ./scripts/integration-tests.sh $SCRIPT_ARGS | tee typescript-tests.log
125125
126126
- name: Upload logs
127127
if: always()

0 commit comments

Comments
 (0)