mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-13 16:36:06 +00:00
test extras
This commit is contained in:
parent
3898048b49
commit
7a8d5586de
@ -1,4 +1,4 @@
|
|||||||
.PHONY: all clean docs_build docs_clean docs_linkcheck api_docs_build api_docs_clean api_docs_linkcheck format lint test tests test_watch integration_tests docker_tests help extended_tests
|
.PHONY: all clean docs_build docs_clean docs_linkcheck api_docs_build api_docs_clean api_docs_linkcheck format lint test_extras test tests test_watch integration_tests docker_tests help extended_tests
|
||||||
|
|
||||||
# Default target executed when no arguments are given to make.
|
# Default target executed when no arguments are given to make.
|
||||||
all: help
|
all: help
|
||||||
@ -18,7 +18,14 @@ coverage:
|
|||||||
--cov-report term-missing:skip-covered \
|
--cov-report term-missing:skip-covered \
|
||||||
$(TEST_FILE)
|
$(TEST_FILE)
|
||||||
|
|
||||||
test tests:
|
test_extras:
|
||||||
|
uv pip uninstall langchain-anthropic
|
||||||
|
uv pip install .
|
||||||
|
! uv run python -c "from langchain_anthropic import ChatAnthropic"
|
||||||
|
uv pip install '.[anthropic]'
|
||||||
|
uv run python -c "from langchain_anthropic import ChatAnthropic"
|
||||||
|
|
||||||
|
test tests: test_extras
|
||||||
uv run --group test pytest -n auto --disable-socket --allow-unix-socket $(TEST_FILE)
|
uv run --group test pytest -n auto --disable-socket --allow-unix-socket $(TEST_FILE)
|
||||||
|
|
||||||
extended_tests:
|
extended_tests:
|
||||||
|
Loading…
Reference in New Issue
Block a user