mirror of
https://github.com/Cinnamon/kotaemon.git
synced 2026-07-10 12:37:43 +02:00
feat: support MCP tools and enhance resource updating with renaming c… (#813)
* feat: support MCP tools and enhance resource updating with renaming capabilities. * chore: styling * tests: update unit tests * fix: hightlight error * fix: uv build in docker * fix: keep original action name
This commit is contained in:
committed by
GitHub
parent
fe52d208e2
commit
155e590720
13
.github/workflows/unit-test.yaml
vendored
13
.github/workflows/unit-test.yaml
vendored
@@ -56,6 +56,12 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
architecture: x64
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
enable-cache: true
|
||||
|
||||
- name: Get cache key
|
||||
id: get-cache-key
|
||||
run: |
|
||||
@@ -84,9 +90,7 @@ jobs:
|
||||
|
||||
- name: Install additional dependencies (if any)
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
cd libs/kotaemon
|
||||
pip install -U --upgrade-strategy eager -e .[all]
|
||||
uv sync --frozen --no-cache
|
||||
|
||||
- name: New dependencies cache for key ${{ steps.restore-dependencies.outputs.cache-primary-key }}
|
||||
if: |
|
||||
@@ -104,6 +108,7 @@ jobs:
|
||||
|
||||
- name: Test kotaemon with pytest
|
||||
run: |
|
||||
pip show pytest
|
||||
source .venv/bin/activate
|
||||
uv pip show pytest
|
||||
cd libs/kotaemon
|
||||
pytest
|
||||
|
||||
Reference in New Issue
Block a user