mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 07:08:31 +00:00
fix: run tests from package directory context
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -75,7 +75,7 @@ jobs:
|
||||
# DURATIONS_ARG="--durations-path=${DURATION_FILE}"
|
||||
# fi
|
||||
|
||||
uv run --package=crewai-core --directory=packages/crewai pytest \
|
||||
cd packages/crewai && uv run pytest \
|
||||
--block-network \
|
||||
--timeout=30 \
|
||||
-vv \
|
||||
|
||||
2
.github/workflows/tools-tests.yml
vendored
2
.github/workflows/tools-tests.yml
vendored
@@ -39,4 +39,4 @@ jobs:
|
||||
run: uv sync --all-groups && uv sync --package crewai-tools --all-extras
|
||||
|
||||
- name: Run tests
|
||||
run: uv run --package=crewai-tools --directory=packages/tools pytest -vv
|
||||
run: cd packages/tools && uv run pytest -vv
|
||||
|
||||
Reference in New Issue
Block a user