mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 23:58:34 +00:00
fix: use proper uv sync with dev dependencies and package context
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
||||
enable-cache: false
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --all-groups && uv sync --package crewai-core --all-extras
|
||||
run: uv sync --all-groups --package crewai-core --all-extras
|
||||
|
||||
- name: Restore test durations
|
||||
uses: actions/cache/restore@v4
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
# DURATIONS_ARG="--durations-path=${DURATION_FILE}"
|
||||
# fi
|
||||
|
||||
cd packages/crewai && uv run pytest \
|
||||
uv run --package=crewai-core --directory=packages/crewai pytest \
|
||||
--block-network \
|
||||
--timeout=30 \
|
||||
-vv \
|
||||
|
||||
4
.github/workflows/tools-tests.yml
vendored
4
.github/workflows/tools-tests.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
run: uv python install ${{ matrix.python-version }}
|
||||
|
||||
- name: Install the project
|
||||
run: uv sync --all-groups && uv sync --package crewai-tools --all-extras
|
||||
run: uv sync --all-groups --package crewai-tools --all-extras
|
||||
|
||||
- name: Run tests
|
||||
run: cd packages/tools && uv run pytest -vv
|
||||
run: uv run --package=crewai-tools --directory=packages/tools pytest -vv
|
||||
|
||||
Reference in New Issue
Block a user