-
Notifications
You must be signed in to change notification settings - Fork 2
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
build: Update unit test action #29
Conversation
.github/workflows/unit-build.yml
Outdated
- 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Сделал установку и запуск тестов последовательным, чтобы не сломать зависимости. Можно еще поменять name
с extra на llm-api.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Можно еще поменять name с extra на llm-api.
Да, наверное для понятности лучше так.
А нет смысла удялять то что установлено для первой группы тестов?
There was a problem hiding this comment.
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 завершились успешно.
Updates action to run llm-api unit tests.
✅ Successful run - https://github.com/DRMPN/ProtoLLM/actions/runs/12435320131/job/34720881265