1515 push :
1616 branches :
1717 - master
18- paths : ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples /server/**.*']
18+ paths : ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'tools /server/**.*']
1919 pull_request :
2020 types : [opened, synchronize, reopened]
21- paths : ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples /server/**.*']
21+ paths : ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'tools /server/**.*']
2222
2323env :
2424 LLAMA_LOG_COLORS : 1
7474 - name : Tests dependencies
7575 id : test_dependencies
7676 run : |
77- pip install -r examples /server/tests/requirements.txt
77+ pip install -r tools /server/tests/requirements.txt
7878
7979 # Setup nodejs (to be used for verifying bundled index.html)
8080 - uses : actions/setup-node@v4
@@ -84,14 +84,14 @@ jobs:
8484 - name : WebUI - Install dependencies
8585 id : webui_lint
8686 run : |
87- cd examples /server/webui
87+ cd tools /server/webui
8888 npm ci
8989
9090 - name : WebUI - Check code format
9191 id : webui_format
9292 run : |
9393 git config --global --add safe.directory $(realpath .)
94- cd examples /server/webui
94+ cd tools /server/webui
9595 git status
9696
9797 npm run format
@@ -108,7 +108,7 @@ jobs:
108108 id : verify_server_index_html
109109 run : |
110110 git config --global --add safe.directory $(realpath .)
111- cd examples /server/webui
111+ cd tools /server/webui
112112 git status
113113
114114 npm run build
@@ -161,21 +161,21 @@ jobs:
161161 env :
162162 GITHUB_ACTIONS : " true"
163163 run : |
164- cd examples /server/tests
164+ cd tools /server/tests
165165 ./tests.sh
166166
167167 - name : Tests (sanitizers)
168168 id : server_integration_tests_sanitizers
169169 if : ${{ matrix.sanitizer != '' }}
170170 run : |
171- cd examples /server/tests
171+ cd tools /server/tests
172172 LLAMA_SANITIZE=1 ./tests.sh
173173
174174 - name : Slow tests
175175 id : server_integration_tests_slow
176176 if : ${{ (github.event.schedule || github.event.inputs.slow_tests == 'true') && matrix.build_type == 'Release' }}
177177 run : |
178- cd examples /server/tests
178+ cd tools /server/tests
179179 SLOW_TESTS=1 ./tests.sh
180180
181181
@@ -211,7 +211,7 @@ jobs:
211211 - name : Tests dependencies
212212 id : test_dependencies
213213 run : |
214- pip install -r examples /server/tests/requirements.txt
214+ pip install -r tools /server/tests/requirements.txt
215215
216216 - name : Copy Libcurl
217217 id : prepare_libcurl
@@ -224,14 +224,14 @@ jobs:
224224 id : server_integration_tests
225225 if : ${{ !matrix.disabled_on_pr || !github.event.pull_request }}
226226 run : |
227- cd examples /server/tests
227+ cd tools /server/tests
228228 $env:PYTHONIOENCODING = ":replace"
229229 pytest -v -x -m "not slow"
230230
231231 - name : Slow tests
232232 id : server_integration_tests_slow
233233 if : ${{ (github.event.schedule || github.event.inputs.slow_tests == 'true') && matrix.build_type == 'Release' }}
234234 run : |
235- cd examples /server/tests
235+ cd tools /server/tests
236236 $env:SLOW_TESTS = "1"
237237 pytest -v -x
0 commit comments