Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Update unit test action #29

Merged
merged 5 commits into from
Dec 21, 2024

Conversation

DRMPN
Copy link
Contributor

@DRMPN DRMPN commented Dec 20, 2024

Updates action to run llm-api unit tests.

✅ Successful run - https://github.com/DRMPN/ProtoLLM/actions/runs/12435320131/job/34720881265

@DRMPN DRMPN requested a review from nicl-nno December 20, 2024 21:16
@DRMPN DRMPN self-assigned this Dec 20, 2024
@DRMPN DRMPN changed the title build: update unit test action build: Update unit test action Dec 20, 2024
Comment on lines 36 to 42
- name: Install extra dependencies
run: |
pip install pytest-asyncio
pip install -r ./protollm_tools/llm-api/requirements.txt
- name: Extra test with pytest
run: |
pytest -s ./protollm_tools/llm-api/tests/unit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сделал установку и запуск тестов последовательным, чтобы не сломать зависимости. Можно еще поменять name с extra на llm-api.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно еще поменять name с extra на llm-api.

Да, наверное для понятности лучше так.

А нет смысла удялять то что установлено для первой группы тестов?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Пока в этом нет необходимости, зависимости не ломаются при такой же установке на сервере. Проверял командой pip check, unit тесты для llm-api завершились успешно.

@DRMPN DRMPN merged commit 17b5b58 into aimclub:main Dec 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants