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

Status message on Github Action Summary Page #34

Closed
AntonOellerer opened this issue Oct 23, 2020 · 3 comments
Closed

Status message on Github Action Summary Page #34

AntonOellerer opened this issue Oct 23, 2020 · 3 comments
Labels
question Further information is requested

Comments

@AntonOellerer
Copy link

Hey,
On the summary page of failed github workflows, in the "Annotations" Section, the failed tests are displayed as warnings for me.
Furthermore, they always recommend to check line 0 in the failed file. (See image below)
Captura de pantalla de 2020-10-23 14-50-18

Do you know what the reason for this is?
Best regards
Anton

@EnricoMi
Copy link
Owner

They have warning level because the action uses warning for failed tests and error for test errors.

The annotation has a non-zero line when the respective unit test file (here TEST-com.test.impl.Test.xml) provides a line number and 0 otherwise.

@EnricoMi EnricoMi added the question Further information is requested label Oct 25, 2020
@AntonOellerer
Copy link
Author

Ok, thank you
Do you know how to enable line number reporting?
Like is this a flag in JUnit5, do you have to implement it yourself, or something similar?

@EnricoMi
Copy link
Owner

No idea. I presume it is all up to the unit test runner tool (and its configuration). Closing then, feel free to reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants