How to insert the result of coverage(lcov.info) to gitea markdown? #3299

Closed
opened 2025-11-02 05:07:06 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @droplet-js on GitHub (May 8, 2019).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

...

Screenshots

Originally created by @droplet-js on GitHub (May 8, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/questionissue/confirmed labels 2025-11-02 05:07:06 -06:00
Author
Owner

@lunny commented on GitHub (May 9, 2019):

You can create/edit file via API or just push your git change in README.md

@lunny commented on GitHub (May 9, 2019): You can create/edit file via API or just push your git change in README.md
Author
Owner

@droplet-js commented on GitHub (May 9, 2019):

lcov.info 文件是由 flutter test --coverage 命令执行生成的,我想再 README.md 中动态引入,并不想执行完命令后手动 copy 到 README.md 中。

@droplet-js commented on GitHub (May 9, 2019): lcov.info 文件是由 flutter test --coverage 命令执行生成的,我想再 README.md 中动态引入,并不想执行完命令后手动 copy 到 README.md 中。
Author
Owner

@lunny commented on GitHub (May 11, 2019):

You should create a CI bot to update the README.md I think.

@lunny commented on GitHub (May 11, 2019): You should create a CI bot to update the `README.md` I think.
Author
Owner

@droplet-js commented on GitHub (May 11, 2019):

这不是个好主意,每次commit都会触发coverage,使用使用ci工具额外再提交一次commit,岂不陷入无限循环么?即使对ci触发条件作控制,也会增加一倍的commit

@droplet-js commented on GitHub (May 11, 2019): 这不是个好主意,每次commit都会触发coverage,使用使用ci工具额外再提交一次commit,岂不陷入无限循环么?即使对ci触发条件作控制,也会增加一倍的commit
Author
Owner

@lunny commented on GitHub (May 12, 2019):

The bot commit could be skipped by bot itself.

@lunny commented on GitHub (May 12, 2019): The bot commit could be skipped by bot itself.
Author
Owner

@droplet-js commented on GitHub (May 12, 2019):

即使对ci触发条件作控制,也会增加一倍的commit。这不是个好主意

@droplet-js commented on GitHub (May 12, 2019): 即使对ci触发条件作控制,也会增加一倍的commit。这不是个好主意
Author
Owner

@stale[bot] commented on GitHub (Jul 11, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jul 11, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3299