Add accelerate to test requirements

This commit is contained in:
Aymeric 2025-01-06 21:53:09 +01:00
parent c22fedaee1
commit 01abe5921a
3 changed files with 21 additions and 5 deletions

View File

@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10
python-version: "3.10"
# Setup venv
# TODO: revisit when https://github.com/astral-sh/uv/issues/1526 is addressed.

View File

@ -36,12 +36,27 @@ jobs:
- name: Agent tests
run: |
uv run pytest -sv ./tests/test_agents.py
- name: Tool tests
- name: Final answer tests
run: |
uv run pytest -sv ./tests/test_toolss.py
uv run pytest -sv ./tests/test_final_answer.py
- name: Models tests
run: |
uv run pytest -sv ./tests/test_models.py
- name: Monitoring tests
run: |
uv run pytest -sv ./tests/test_monitoring.py
- name: Python interpreter tests
run: |
uv run pytest -sv ./tests/test_python_interpreter.py
- name: Final answer tests
- name: Search tests
run: |
uv run pytest -sv ./tests/test_final_answer.py
uv run pytest -sv ./tests/test_search.py
- name: Tools tests
run: |
uv run pytest -sv ./tests/test_tools.py
- name: Types tests
run: |
uv run pytest -sv ./tests/test_types.py
- name: Utils tests
run: |
uv run pytest -sv ./tests/test_utils.py

View File

@ -37,4 +37,5 @@ test = [
"pytest>=8.1.0",
"sqlalchemy",
"ruff>=0.5.0",
"accelerate",
]