feat: Install Codeflash optimizer github action (#5350)
* Install Codeflash optimizer github action * try * install the right dev * try * try * try * try * try * Python 3.12 * temp run * test optimizing bubble sort * try * try * finalize setup
This commit is contained in:
parent
62c13adcfd
commit
a30ccc4302
4 changed files with 378 additions and 11 deletions
|
|
@ -80,6 +80,15 @@ dev-dependencies = [
|
|||
"pytest-github-actions-annotate-failures>=0.2.0",
|
||||
"types-aiofiles>=24.1.0.20240626",
|
||||
]
|
||||
[tool.codeflash]
|
||||
# All paths are relative to this pyproject.toml's directory.
|
||||
module-root = "langflow"
|
||||
tests-root = "../tests/unit"
|
||||
test-framework = "pytest"
|
||||
ignore-paths = []
|
||||
formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]
|
||||
#disable plugins that might interfere with runtime measurement
|
||||
pytest-cmd = "pytest -p no:profiling -p no:sugar -p no:xdist -p no:cov -p no:split"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
|
|
@ -222,7 +231,8 @@ dev = [
|
|||
"pytest-split>=0.9.0",
|
||||
"devtools>=0.12.2",
|
||||
"pytest-flakefinder>=1.1.0",
|
||||
"types-markdown>=3.7.0.20240822"
|
||||
"types-markdown>=3.7.0.20240822",
|
||||
"codeflash>=0.8.4"
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue