mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
fix: simplify pytest execution from workspace root
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}"
|
# DURATIONS_ARG="--durations-path=${DURATION_FILE}"
|
||||||
# fi
|
# fi
|
||||||
|
|
||||||
uv run --package=crewai-core --directory=packages/crewai pytest \
|
uv run pytest packages/crewai/tests \
|
||||||
--block-network \
|
--block-network \
|
||||||
--timeout=30 \
|
--timeout=30 \
|
||||||
-vv \
|
-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 --package crewai-tools --all-extras
|
run: uv sync --all-groups --package crewai-tools --all-extras
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: uv run --package=crewai-tools --directory=packages/tools pytest -vv
|
run: uv run pytest packages/tools/tests -vv
|
||||||
|
|||||||
Reference in New Issue
Block a user