File tree Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,25 @@ name: Embedding CLI
44on :
55 workflow_dispatch :
66 push :
7- branches :
8- - feature/*
9- - master
7+ branches : [master, feature/**]
108 paths :
11- - ' .github/workflows/embeddings.yml'
12- - ' examples/embedding/**'
13- - ' examples/tests/**'
9+ - ' .github/workflows/embedding.yml'
10+ - ' examples/**'
11+ - ' src/**'
12+ - ' ggml/**'
13+ - ' include/**'
14+ - ' **/CMakeLists.txt'
15+ - ' tests/e2e/embedding/**'
1416 pull_request :
1517 types : [opened, synchronize, reopened]
1618 paths :
17- - ' .github/workflows/embeddings.yml'
18- - ' examples/embedding/**'
19- - ' examples/tests/**'
19+ - ' .github/workflows/embedding.yml'
20+ - ' examples/**'
21+ - ' src/**'
22+ - ' ggml/**'
23+ - ' include/**'
24+ - ' **/CMakeLists.txt'
25+ - ' tests/e2e/embedding/**'
2026
2127jobs :
2228 embedding-cli-tests :
5662
5763 - name : Run embedding tests
5864 run : |
59- pytest -v examples/ tests
65+ pytest -v tests/e2e/embedding
Original file line number Diff line number Diff line change 88# ---------------------------------------------------------------------------
99
1010EPS = 1e-3
11- REPO_ROOT = Path (__file__ ).resolve ().parents [2 ]
11+ REPO_ROOT = Path (__file__ ).resolve ().parents [3 ]
1212EXE = REPO_ROOT / ("build/bin/llama-embedding.exe" if os .name == "nt" else "build/bin/llama-embedding" )
1313DEFAULT_ENV = {** os .environ , "LLAMA_CACHE" : os .environ .get ("LLAMA_CACHE" , "tmp" )}
1414SEED = "42"
You can’t perform that action at this time.
0 commit comments