You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In future, when we have tests that depend on optional/extra deps, we should keep the tests in tests/main and skip the test when the corresponding import fails, e.g. how I just did this in test_vector_stores.py where I skip chroma test. In the main pytest.yml workflow, we install the extras using poetry install -E "chromadb,transformers" (as an example) so that the extra deps get included and the tests are comprehensive, including extra deps.
Add another run in
pytest.yml
that installs the relevant extra deps and runspytest tests/extras
so that we don't neglect these tests.The text was updated successfully, but these errors were encountered: