-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
standard-tests: ci pipeline (#27923)
- Loading branch information
Showing
5 changed files
with
71 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[build-system] | ||
requires = [ "poetry-core",] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
name = "langchain-standard-tests" | ||
version = "0.3.0" | ||
description = "Standard tests for LangChain implementations" | ||
authors = [ "Erick Friis <[email protected]>",] | ||
authors = ["Erick Friis <[email protected]>"] | ||
readme = "README.md" | ||
repository = "https://github.com/langchain-ai/langchain" | ||
license = "MIT" | ||
|
@@ -25,14 +25,18 @@ httpx = "^0.27.0" | |
syrupy = "^4" | ||
|
||
[tool.ruff.lint] | ||
select = [ "E", "F", "I", "T201",] | ||
select = ["E", "F", "I", "T201"] | ||
|
||
[tool.coverage.run] | ||
omit = [ "tests/*",] | ||
omit = ["tests/*"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--strict-markers --strict-config --durations=5 -vv" | ||
markers = [ "requires: mark tests as requiring a specific library", "scheduled: mark tests to run in scheduled testing", "compile: mark placeholder test used to compile integration tests without running them",] | ||
markers = [ | ||
"requires: mark tests as requiring a specific library", | ||
"scheduled: mark tests to run in scheduled testing", | ||
"compile: mark placeholder test used to compile integration tests without running them", | ||
] | ||
asyncio_mode = "auto" | ||
|
||
[tool.poetry.group.test] | ||
|
@@ -50,6 +54,14 @@ optional = true | |
[tool.poetry.group.test.dependencies] | ||
pytest-asyncio = "^0.23.7" | ||
|
||
[[tool.poetry.group.test.dependencies.numpy]] | ||
version = "^1.24.0" | ||
python = "<3.12" | ||
|
||
[[tool.poetry.group.test.dependencies.numpy]] | ||
version = "^1.26.0" | ||
python = ">=3.12" | ||
|
||
[tool.poetry.group.test_integration.dependencies] | ||
|
||
[tool.poetry.group.codespell.dependencies] | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import pytest | ||
|
||
|
||
@pytest.mark.compile | ||
def test_placeholder() -> None: | ||
"""Used for compiling integration tests without running any real tests.""" | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters