[WIP] Integrate Codecov for public repository - #22
Merged
Conversation
VeryComplexAndLongName
marked this pull request as ready for review
May 19, 2026 07:01
Copilot stopped work on behalf of
VeryComplexAndLongName due to an error
May 19, 2026 07:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original prompt
Подготовь pull request для репозитория
VeryComplexAndLongName/PromptMan, чтобы интегрировать Codecov для публичного репозитория.Контекст:
main..github/workflows/docker.yml.tests/.pyproject.tomldev-зависимости уже включаютpytest.CODECOV_TOKENне требуется. Но workflow должен быть готов к публикации покрытия.Что нужно сделать:
coverage.xml;pytest-cov), если её ещё нет.docker.ymlзанимается сборкой и публикацией Docker image. Изменения должны быть безопасными и разумными:README.md, добавив Codecov badge в уместное место рядом с заголовком/статусными badge.VeryComplexAndLongName/PromptMan.Ограничения и ожидания:
CODECOV_TOKEN, так как репозиторий публичный.Желаемый результат PR:
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: внешний шаг: подключить репозиторий к Codecov и дождаться первого успешного прогона workflow CI; для private repo ещё нужен secret CODECOV_TOKEN, для public обычно достаточно Codecov GitHub App. После этого badge из README начнёт показывать реальное покрытие.
Не мог бы ты всё это сделать?
Assistant: Да — могу, но мне нужен явный репозиторий в формате
owner/repo.Сейчас у меня есть только ваш профиль:
VeryComplexAndLongNamehttps://github.com/VeryComplexAndLongNameА для таких действий, как:
CODECOV_TOKENдля private repo,нужно знать конкретный репозиторий.
Пришлите, пожалуйста:
owner/repoнапример:
VeryComplexAndLongName/my-projectИ важное ограничение:
CODECOV_TOKENтоже можно только если у меня есть соответствующий доступ/инструмент, а в текущем наборе инструментов прямого управления GitHub secrets нет.Но я могу:
User: https://github.com/VeryComplexAndLongName/PromptMan
Assistant: Да, частично могу сделать прямо сейчас, но не всё автоматизируется моими текущими инструментами.
Что уже удалось проверить по
VeryComplexAndLongName/PromptMan:main;.github/workflows/docker.yml;Что важно:
CODECOV_TOKENобычно не нужен — достаточно установки Codecov GitHub App.CODECOV_TOKENавтоматически поставить не смог бы.This pull request was created from Copilot chat.