Skip to content

Commit 7490ed8

Browse files
committed
ci: add tests
1 parent 58604f0 commit 7490ed8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/code-to-tree.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
run: CFLAGS="-I \"C:\Program Files\Git\usr\local\include\" -L \"C:\Program Files\Git\usr\local\lib\"" make
4040
- run: dir
4141
- run: ldd code-to-tree.exe
42+
- shell: bash
43+
run: cat toolcall-1.json | ./code-to-tree.exe
44+
- shell: bash
45+
run: cat toolcall-2.json | ./code-to-tree.exe
46+
- shell: bash
47+
run: cat toolcall-3.json | ./code-to-tree.exe
4248
- uses: actions/upload-artifact@v4
4349
with:
4450
name: code-to-tree.exe
@@ -69,6 +75,9 @@ jobs:
6975
- run: make
7076
- run: ls -l
7177
- run: otool -L code-to-tree
78+
- run: cat toolcall-1.json | ./code-to-tree
79+
- run: cat toolcall-2.json | ./code-to-tree
80+
- run: cat toolcall-3.json | ./code-to-tree
7281
- uses: actions/upload-artifact@v4
7382
with:
7483
name: code-to-tree

0 commit comments

Comments
 (0)