-
Notifications
You must be signed in to change notification settings - Fork 171
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
[TST] functions/(add_columns|conditional_join).py
scripts are not covered by test cases
#1196
Comments
But that is weird. Testing logic is the same for whether it is a PR or dev branch now. |
Or another solution is that directly use |
if i remember correctly , and correct me @ericmjl , we used the turtle because some tests were taking quite some time to run, and we needed a way to let them run without timing out? |
The aim of #1185 and #1190 these two PRs are to keep the same testing logic no matter whether it's the dev branch or a PR. The dev branch
|
That's almost right, @samukweku! We wanted the test suite to complete faster to minimize feedback loop timing. Without splitting, we would take ~40 minutes for all tests to pass. Now it's a maximum of 26 minutes, with a possibility of further reducing if we split out testing of the longest-running tests. Of course, the alternative is to reduce the testing time of those long-running tests. |
@Zeroto521 let's look at the latest test runs. |
For a single environment is working. Speed up via splitting different parts (parallelizing test cases). |
I suddenly found there has an option Lines 33 to 34 in c5ba7ef
|
This is the reason. The code coverage is back to normal. See #1204 |
this issue could be closed. It was already fixed in #1204 |
The
codecov/project
of latest commit 3687219 on dev branch is 77.60% (-20.04%).The following methods or scripts aren't covered by test cases.
Please go codecov to see details.
functions/add_columns.py::add_columns
functions/conditional_join.py
We could learn that the coverage doesn't like our thought after adding
--cov-append
option.pytest tests
!=pytest tests -m "turtle"
+pytest tests -m "not turtle"
The text was updated successfully, but these errors were encountered: