Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crewai Integration Tests #665

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Crewai Integration Tests #665

wants to merge 2 commits into from

Conversation

teocns
Copy link
Contributor

@teocns teocns commented Jan 29, 2025

uv run --with=crewai pytest tests/integration/test_crewai.py

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Contributor

@areibman areibman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(base) ➜  agentops git:(tests/crewai-basic) uv run --with=crewai pytest tests/integration/test_crewai.py
Using CPython 3.12.8
Creating virtual environment at: .venv
 Updated https://github.com/kevin1024/vcrpy.git (5f1b20c)
   Built agentops @ file:///Users/reibs/Projects/agentops-ai/agentops
   Built vcrpy @ git+https://github.com/kevin1024/vcrpy.git@5f1b20c4ca4a18c1fc8cfe049d7df12ca0659c9b
   Built pyrepl==0.9.0
Installed 138 packages in 315ms
Bytecode compiled 6633 files in 2.05s
Installed 147 packages in 544ms
Bytecode compiled 8718 files in 2.86s
Test session starts (platform: darwin, Python 3.12.8, pytest 8.3.4, pytest-sugar 1.0.0)
rootdir: /Users/reibs/Projects/agentops-ai/agentops
configfile: pyproject.toml
plugins: recording-0.13.2, cov-6.0.0, pyfakefs-5.7.4, asyncio-0.25.2, sugar-1.0.0, anyio-4.8.0, mock-3.14.0, depends-1.0.1, requests-mock-1.12.1
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=module
collecting ...
―――――――――――――――――――――――――――――――――― ERROR collecting tests/integration/test_crewai.py ――――――――――――――――――――――――――――――――――
ImportError while importing test module '/Users/reibs/Projects/agentops-ai/agentops/tests/integration/test_crewai.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/integration/test_crewai.py:2: in <module>
    from crewai import Agent, Crew, Process, Task
E   ModuleNotFoundError: No module named 'crewai'
--------------------------------------------------- Captured stderr ---------------------------------------------------
/Users/reibs/Projects/agentops-ai/agentops/.venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2:
* 'fields' has been removed
  warnings.warn(message, UserWarning)
collected 0 items / 1 error

=============================================== short test summary info ===============================================
FAILED tests/integration/test_crewai.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Results (0.14s):
(base) ➜  agentops git:(tests/crewai-basic) ✗

Nevermind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants