mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
fix: resolve pytest conftest conflicts with package-specific configs
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 pytest \
|
||||
uv run --package crewai-core 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 --dev --all-extras
|
||||
|
||||
- name: Run tests
|
||||
run: uv run pytest packages/tools/tests -vv
|
||||
run: uv run --package crewai-tools pytest -vv
|
||||
|
||||
@@ -71,6 +71,12 @@ qdrant = [
|
||||
[project.scripts]
|
||||
crewai = "crewai.cli.cli:crewai"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
markers = [
|
||||
"telemetry: mark test as a telemetry test (don't mock telemetry)",
|
||||
]
|
||||
|
||||
[tool.hatch.version]
|
||||
path = "src/crewai/__init__.py"
|
||||
|
||||
|
||||
@@ -136,6 +136,7 @@ contextual = [
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["."]
|
||||
|
||||
[tool.hatch.version]
|
||||
|
||||
@@ -86,14 +86,6 @@ ignore = ["E501"] # ignore line too long
|
||||
[tool.mypy]
|
||||
exclude = ["packages/crewai/src/crewai/cli/templates", "packages/*/tests"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = [
|
||||
"packages/crewai/tests",
|
||||
"packages/tools/tests",
|
||||
]
|
||||
markers = [
|
||||
"telemetry: mark test as a telemetry test (don't mock telemetry)",
|
||||
]
|
||||
|
||||
# PyTorch index configuration, since torch 2.5.0 is not compatible with python 3.13
|
||||
[[tool.uv.index]]
|
||||
|
||||
Reference in New Issue
Block a user