Skip to content

Commit 4ea01b7

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 7c9c1ba commit 4ea01b7

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
@@ -54,21 +54,12 @@ jobs:
5454
JAR_PATH=$(find e2e-cli/target -name "e2e-cli-*-jar-with-dependencies.jar" | head -1)
5555
echo "jar_path=$JAR_PATH" >> $GITHUB_OUTPUT
5656
57-
- name: Install sdk-e2e-tests dependencies
58-
working-directory: sdk-e2e-tests
59-
run: npm ci
60-
61-
- name: Build sdk-e2e-tests
62-
working-directory: sdk-e2e-tests
63-
run: npm run build
64-
6557
- name: Run E2E tests
6658
working-directory: sdk-e2e-tests
67-
env:
68-
CLI_COMMAND: java -jar ${{ github.workspace }}/sdk/${{ steps.find-jar.outputs.jar_path }}
69-
E2E_TEST_SUITES: basic,retry
70-
# E2E_TEST_SKIP: exponential-backoff # skip specific test files if needed
71-
run: npm test
59+
run: |
60+
./scripts/run-tests.sh \
61+
--sdk-dir "${{ github.workspace }}/sdk/e2e-cli" \
62+
--cli "java -jar ${{ github.workspace }}/sdk/${{ steps.find-jar.outputs.jar_path }}"
7263
7364
- name: Upload test results
7465
if: always()

0 commit comments

Comments
 (0)