Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,22 @@ jobs:
- name: Check generated edge navigation doc
if: steps.changes.outputs.code == 'true'
run: python scripts/generate_edge_navigation.py --check
- name: Cache HuggingFace models
if: steps.changes.outputs.code == 'true'
uses: actions/cache@v4
with:
path: ~/.cache/huggingface
key: hf-${{ hashFiles('**/pyproject.toml') }}-v1
restore-keys: |
hf-${{ hashFiles('**/pyproject.toml') }}-
hf-
- name: Run tests
if: steps.changes.outputs.code == 'true'
env:
JAVA_CODEBASE_RAG_RUN_HEAVY: "0"
HF_TOKEN: ${{ secrets.HF_TOKEN }}
TRANSFORMERS_CACHE: ~/.cache/huggingface
HF_HOME: ~/.cache/huggingface
run: pytest tests -v
- name: Skip tests (docs-only)
if: steps.changes.outputs.code != 'true'
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ cocoindex_java_lance.db/
.env
.env.*
tmp/

# uv lock file (should not be committed)
uv.lock
Loading
Loading