Skip to content

Commit 51ca1cd

Browse files
MichaelGHSegclaude
andcommitted
Update CI workflow to use run-tests.sh from sdk-e2e-tests
Replace hardcoded env vars and direct npm test call with ./scripts/run-tests.sh which reads e2e-config.json for test configuration. This ensures CI uses the same config as local runs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 92bb4b6 commit 51ca1cd

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,12 @@ jobs:
5050
working-directory: sdk/e2e-cli
5151
run: pip install -e .
5252

53-
- name: Install sdk-e2e-tests dependencies
54-
working-directory: sdk-e2e-tests
55-
run: npm ci
56-
57-
- name: Build sdk-e2e-tests
58-
working-directory: sdk-e2e-tests
59-
run: npm run build
60-
6153
- name: Run E2E tests
6254
working-directory: sdk-e2e-tests
63-
env:
64-
CLI_COMMAND: e2e-cli
65-
E2E_TEST_SUITES: basic,retry
66-
# E2E_TEST_SKIP: exponential-backoff # skip specific test files if needed
67-
run: npm test
55+
run: |
56+
./scripts/run-tests.sh \
57+
--sdk-dir "${{ github.workspace }}/sdk/e2e-cli" \
58+
--cli "e2e-cli"
6859
6960
- name: Upload test results
7061
if: always()

0 commit comments

Comments
 (0)