Leonardo Pinheiro a1fdbd9692
Use caching to run tests and report coverage (#5086)
* use caching to run tests and report coverage

* fix test step dep name

* try to fix cov fname

* add working dir to mv step

* update artifact download

* fmt

* reduce concurrency on ext test

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2025-01-17 14:32:18 +00:00

78 lines
1.4 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "autogen-magentic-one"
version = "0.0.1"
license = {file = "LICENSE-CODE"}
description = ''
readme = "README.md"
requires-python = ">=3.10"
keywords = []
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"autogen-core",
"autogen-ext[docker]",
"beautifulsoup4",
"aiofiles",
"requests",
"mammoth",
"markdownify",
"numpy",
"python-pptx",
"pandas",
"openpyxl",
"pdfminer.six",
"puremagic",
"pydub",
"youtube-transcript-api",
"SpeechRecognition",
"pathvalidate",
"playwright",
"pydantic<3.0.0,>=2.0.0",
]
[dependency-groups]
dev = [
"aiofiles",
"types-aiofiles",
"types-requests",
"types-pillow",
"azure-identity",
"openpyxl",
]
[tool.poe]
include = "../../shared_tasks.toml"
[tool.poe.tasks]
test.sequence = [
"playwright install",
"pytest -n auto --cov=src --cov-report=term-missing --cov-report=xml",
]
test.default_item_type = "cmd"
[tool.ruff]
extend = "../../pyproject.toml"
exclude = ["build", "dist", "page_script.js"]
include = [
"src/**",
"examples/*.py",
"tests/**/*.py",
]
[tool.ruff.lint.per-file-ignores]
"src/autogen_magentic_one/utils.py" = ["T20"]
[tool.pyright]
extends = "../../pyproject.toml"
include = ["src", "tests", "examples"]