-
-
Notifications
You must be signed in to change notification settings - Fork 45.7k
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
More detailed information on test failures in Actions page #10713
Comments
I realize this is dependent per file as adding the doctests to the file gave me identical errors. Unsure if I should close this as it'd be nice to have a unified way of displaying meaningful errors |
You actually can see which test failed in the build logs—it's just after the progress bar:
I know, it's hard to find. I had tried to separate the test logs and coverage logs into two separate Actions steps in a past PR, but that didn't work out. |
The problem is that the huge wall of logs is just the output of the single |
@tianyizheng02 as I have understood, You want to run the PYTEST tests and coverage report separately, right? |
If so, then why don't you run |
Actually you can run both of them seperately but it has a prerequisite. To run 'coverage report' seperately, you have to use a testing library (pytest) first so that it can generate To generate
It would generate the So in summary, you can not run them entirely seperately, but only after running the above command. |
So I took a quick look and found two potential solutions @tianyizheng02 . They seem to be similar to @SOBAN50's ideas but I couldn't find the option for a
|
Feature description
When creating tests for various algorithm files, there isn't a way to see what test failed on the Github Actions. You see something like this:
Something like
doctest.testmod()
provides more usable data to work off ofThe text was updated successfully, but these errors were encountered: