Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,22 @@ jobs:
ANTHROPIC_API_KEY: test-key-for-ci
AD_BUYER_SRC_PATH: ${{ github.workspace }}/buyer-agent/src
CREWAI_TELEMETRY_OPT_OUT: "true"
CREWAI_DISABLE_TELEMETRY: "true"
CREWAI_DISABLE_TRACKING: "true"
LITELLM_TELEMETRY: "False"
run: |
set +e
timeout --kill-after=10s 60s pytest tests/unit/ -v --tb=short
code=$?
([ $code -eq 124 ] || [ $code -eq 137 ]) && exit 0 || exit $code
OTEL_SDK_DISABLED: "true"
ANONYMIZED_TELEMETRY: "False"
POSTHOG_DISABLED: "1"
run: timeout --kill-after=10s 600s pytest tests/unit/ -v --tb=short --timeout=30 --timeout-method=thread

- name: Integration tests
env:
ANTHROPIC_API_KEY: test-key-for-ci
CREWAI_TELEMETRY_OPT_OUT: "true"
CREWAI_DISABLE_TELEMETRY: "true"
CREWAI_DISABLE_TRACKING: "true"
LITELLM_TELEMETRY: "False"
run: |
set +e
timeout --kill-after=10s 120s pytest tests/integration/ -v --tb=short
code=$?
([ $code -eq 124 ] || [ $code -eq 137 ]) && exit 0 || exit $code
OTEL_SDK_DISABLED: "true"
ANONYMIZED_TELEMETRY: "False"
POSTHOG_DISABLED: "1"
run: timeout --kill-after=10s 600s pytest tests/integration/ -v --tb=short --timeout=60 --timeout-method=thread
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"pytest-timeout>=2.3.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
]
Expand Down
Loading