Skip to content

Commit ec261a4

Browse files
committed
remove irrelevant test
1 parent 710e94d commit ec261a4

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ jobs:
152152
run: |
153153
OUTPUT=$(./semble-linux-x64 search "load pretrained" ./test-repo)
154154
FILE=$(echo "$OUTPUT" | python3 -c "import sys, json; print(json.load(sys.stdin)['results'][0]['file_path'])")
155-
echo "Using file: $FILE"
156-
RELATED=$(./semble-linux-x64 find-related "$FILE" 1 ./test-repo)
155+
LINE=$(echo "$OUTPUT" | python3 -c "import sys, json; print(json.load(sys.stdin)['results'][0]['start_line'])")
156+
echo "Using file: $FILE at line: $LINE"
157+
RELATED=$(./semble-linux-x64 find-related "$FILE" "$LINE" ./test-repo)
157158
echo "$RELATED"
158159
echo "$RELATED" | python3 -c "import sys, json; data = json.load(sys.stdin); assert len(data['results']) > 0, 'No related results'"
159160
@@ -169,12 +170,6 @@ jobs:
169170
echo "$OUTPUT"
170171
echo "$OUTPUT" | python3 -c "import sys, json; data = json.load(sys.stdin); assert len(data['results']) <= 3, 'top-k not respected'"
171172
172-
- name: Test init
173-
run: |
174-
./semble-linux-x64 init --agent claude
175-
test -f .claude/agents/semble-search.md
176-
echo "Init created agent file successfully"
177-
178173
- name: Test savings
179174
run: ./semble-linux-x64 savings
180175

0 commit comments

Comments
 (0)