Add accelerate to test requirements
This commit is contained in:
parent
c22fedaee1
commit
01abe5921a
|
@ -13,7 +13,7 @@ jobs:
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.10
|
python-version: "3.10"
|
||||||
|
|
||||||
# Setup venv
|
# Setup venv
|
||||||
# TODO: revisit when https://github.com/astral-sh/uv/issues/1526 is addressed.
|
# TODO: revisit when https://github.com/astral-sh/uv/issues/1526 is addressed.
|
||||||
|
|
|
@ -36,12 +36,27 @@ jobs:
|
||||||
- name: Agent tests
|
- name: Agent tests
|
||||||
run: |
|
run: |
|
||||||
uv run pytest -sv ./tests/test_agents.py
|
uv run pytest -sv ./tests/test_agents.py
|
||||||
- name: Tool tests
|
|
||||||
run: |
|
|
||||||
uv run pytest -sv ./tests/test_toolss.py
|
|
||||||
- name: Python interpreter tests
|
|
||||||
run: |
|
|
||||||
uv run pytest -sv ./tests/test_python_interpreter.py
|
|
||||||
- name: Final answer tests
|
- name: Final answer tests
|
||||||
run: |
|
run: |
|
||||||
uv run pytest -sv ./tests/test_final_answer.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: Search tests
|
||||||
|
run: |
|
||||||
|
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
|
|
@ -37,4 +37,5 @@ test = [
|
||||||
"pytest>=8.1.0",
|
"pytest>=8.1.0",
|
||||||
"sqlalchemy",
|
"sqlalchemy",
|
||||||
"ruff>=0.5.0",
|
"ruff>=0.5.0",
|
||||||
|
"accelerate",
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue