Skip to content

Commit 8f89f07

Browse files
committed
fix: Remove redundant PATH exports in CI workflow
The PATH is already updated via GITHUB_PATH in the install step, so we don't need to export it in every subsequent step.
1 parent 2974d97 commit 8f89f07

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/test-e2e.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Claude Code Integration Test
1+
name: Claude Code E2E Test
22

33
on:
44
pull_request:
@@ -25,25 +25,19 @@ jobs:
2525
echo "$HOME/.local/bin" >> $GITHUB_PATH
2626
2727
- name: Verify Claude Code installation
28-
run: |
29-
export PATH="$HOME/.local/bin:$PATH"
30-
claude -v
28+
run: claude -v
3129

3230
- name: Install Python dependencies
3331
run: |
3432
python -m pip install --upgrade pip
3533
pip install -e .
3634
3735
- name: Run quickstart example
38-
run: |
39-
export PATH="$HOME/.local/bin:$PATH"
40-
python examples/quick_start.py
36+
run: python examples/quick_start.py
4137
env:
4238
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
4339

4440
- name: Run streaming mode examples
45-
run: |
46-
export PATH="$HOME/.local/bin:$PATH"
47-
timeout 120 python examples/streaming_mode.py all
41+
run: timeout 120 python examples/streaming_mode.py all
4842
env:
4943
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

hello.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)