mirror of
https://github.com/langchain-ai/langsmith-sdk-christopher.git
synced 2026-07-19 20:33:32 -04:00
8e26d22dfb
and speed up int tests
30 lines
692 B
Makefile
30 lines
692 B
Makefile
.PHONY: tests lint format
|
|
|
|
tests:
|
|
poetry run pytest tests/unit_tests
|
|
|
|
tests_watch:
|
|
poetry run ptw --now . -- -vv -x tests/unit_tests
|
|
|
|
integration_tests:
|
|
poetry run pytest -v --durations=10 --cov=langsmith --cov-report=term-missing --cov-report=html --cov-config=.coveragerc tests/integration_tests
|
|
|
|
integration_tests_fast:
|
|
poetry run pytest -n auto --durations=10 -v --cov=langsmith --cov-report=term-missing --cov-report=html --cov-config=.coveragerc tests/integration_tests
|
|
|
|
lint:
|
|
poetry run ruff .
|
|
poetry run mypy .
|
|
poetry run black . --check
|
|
|
|
format:
|
|
poetry run ruff format .
|
|
poetry run ruff --fix .
|
|
poetry run black .
|
|
|
|
build:
|
|
poetry build
|
|
|
|
publish:
|
|
poetry publish --dry-run
|