langchain/tests/unit_tests
Eugene Yurtsev 80558b5b27
Add workflow for testing with all deps (#4410)
# Add action to test with all dependencies installed

PR adds a custom action for setting up poetry that allows specifying a
cache key:
https://github.com/actions/setup-python/issues/505#issuecomment-1273013236

This makes it possible to run 2 types of unit tests: 

(1) unit tests with only core dependencies
(2) unit tests with extended dependencies (e.g., those that rely on an
optional pdf parsing library)


As part of this PR, we're moving some pdf parsing tests into the
unit-tests section and making sure that these unit tests get executed
when running with extended dependencies.
2023-05-10 09:35:07 -04:00
..
agents Harrison/plan and solve (#4422) 2023-05-09 21:07:56 -07:00
callbacks Fix nested runs example ID (#4413) 2023-05-09 12:21:53 -07:00
chains Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
chat_models Add ChatModel, LLM, and Embeddings for Google's PaLM APIs (#3575) 2023-05-01 15:23:16 -07:00
client Add LCP Client (#4198) 2023-05-05 16:28:56 -07:00
data Prompt from file proof of concept using plain text (#127) 2022-11-13 13:15:30 -08:00
docstore Add DocstoreFn - lookup doc via arbitrary function (#3760) 2023-04-28 19:50:32 -07:00
document_loader Add workflow for testing with all deps (#4410) 2023-05-10 09:35:07 -04:00
evaluation Adding an in-context QA evaluation chain + chain of thought reasoning chain for improved accuracy (#2444) 2023-04-06 22:32:41 -07:00
llms Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
memory Harrison/combined memory (#3935) 2023-05-01 20:55:56 -07:00
output_parsers Add unit test to output parsers (#3911) 2023-05-01 14:53:08 -07:00
prompts Validate input_variables when using jinja2 templates (#3140) 2023-04-19 16:18:32 -07:00
retrievers Fix self query pinecone translation (#3892) 2023-05-01 10:35:48 -07:00
tools Pass parsed inputs through to tool _run (#4309) 2023-05-08 09:13:05 -07:00
utilities Add Tenant ID to V2 Tracer (#4135) 2023-05-04 21:35:20 -07:00
vectorstores fix #3884 (#3475) 2023-04-24 19:54:15 -07:00
__init__.py initial commit 2022-10-24 14:51:15 -07:00
conftest.py Add progress bar to filesystemblob loader, update pytest config for unit tests (#4212) 2023-05-08 16:15:09 -04:00
test_bash.py Persistent Bash Shell (#3580) 2023-04-26 15:20:28 -07:00
test_depedencies.py Add unit-test to catch changes to required deps (#3662) 2023-04-27 13:04:17 -04:00
test_document_transformers.py Contextual compression retriever (#2915) 2023-04-20 17:01:14 -07:00
test_formatting.py initial commit 2022-10-24 14:51:15 -07:00
test_math_utils.py Contextual compression retriever (#2915) 2023-04-20 17:01:14 -07:00
test_python.py Move PythonRepl -> langchain.utilities (#2917) 2023-04-15 10:50:25 -07:00
test_schema.py [simple][test] Added test case for schema.py (#3692) 2023-04-28 20:42:24 -07:00
test_sql_database_schema.py Suppress duckdb warning in unit tests explicitly (#3653) 2023-04-27 14:29:41 -04:00
test_sql_database.py sql: do not hard code the LIMIT clause in the table_info section (#1563) 2023-03-13 23:08:27 -07:00
test_text_splitter.py Add unit test for _merge_splits function (#3513) 2023-04-25 10:02:59 -07:00