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

Display elapsed Time in minutes #61

Closed
jhonatan-lopes opened this issue Apr 11, 2022 · 2 comments · Fixed by #63
Closed

Display elapsed Time in minutes #61

jhonatan-lopes opened this issue Apr 11, 2022 · 2 comments · Fixed by #63

Comments

@jhonatan-lopes
Copy link

Hi,

For tests that take a long time, the Time variable in seconds is not very useful. Is it possible to display the elapsed time in minutes?

For instance, right now my comment is displayed like this:

Tests Skipped Failures Errors Time
199 0 💤 0 ❌ 0 🔥 595.039s ⌚

It would be nice if there was an option when setting up the workflow to have it displayed like this:

Tests Skipped Failures Errors Time
199 0 💤 0 ❌ 0 🔥 9.91min ⌚
@MishaKav MishaKav linked a pull request Apr 22, 2022 that will close this issue
@MishaKav
Copy link
Owner

Add this feature, you can just run MishaKav/pytest-coverage-comment@main or use MishaKav/pytest-coverage-comment@v1.1.26

image

Thank you

@jhonatan-lopes
Copy link
Author

That's awesome, thank you very much!

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 a pull request may close this issue.

2 participants