-
Notifications
You must be signed in to change notification settings - Fork 653
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
Refactor#3622 #3645
Refactor#3622 #3645
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3645 +/- ##
===========================================
- Coverage 85.69% 63.98% -21.72%
===========================================
Files 201 196 -5
Lines 16866 16667 -199
===========================================
- Hits 14454 10664 -3790
- Misses 2412 6003 +3591
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teaVeloper The structure looks great. We have some flaky tests at the moment, so I am rerunning CI to make sure everything is working as intended.
@YarShev can we get TeamCity updated to reflect this new test structure?
Sure, but first we will need to be agreed on the changes. As soon as we are okay with the changes, we will update TeamCity to run tests. If tests pass in TeamCity too, we'll merge the PR. Does that makes sense? |
@@ -147,7 +147,7 @@ jobs: | |||
conda list | |||
- run: sudo apt update && sudo apt install -y libhdf5-dev | |||
- name: Api tests | |||
run: python -m pytest modin/pandas/test/test_api.py | |||
run: python -m pytest modin/test/pandas/test_api.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to put all test directories in one place (modin/config/test, modin/core/execution/dispatching/factories/test, modin/experimental/core/execution/native/implementations/omnisci_on_native/test, etc.)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YarShev I think that will be best, yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, so i guess I should continue refactoring with all folders (i wanted to check if its fine with that one folder, but I guess thats not the best workflow, especially for this issue) and after I will update the PR and then it makes sense to check for the modification with the CI and test pipeline?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teaVeloper Yes, I think that would be good. It looks great so far!
@teaVeloper, @devin-petersohn, what is the status here? |
@YarShev |
@teaVeloper, great, thanks! Feel free to ask any questions. |
This pull request fixes 1 alert when merging a9b72330ce75fa69f02ef0d97e01687e52c86a7d into 035f502 - view on LGTM.com fixed alerts:
|
@teaVeloper thanks so much for the work on this so far! The conflicts look pretty complicated. @RehanSD led a major refactor, do you mind if he takes a look and tries to help resolve the conflicts here? |
Hi @devin-petersohn thanks for feedback. Sure I am happy to get assistance by @RehanSD with this issues! |
Hi @teaVeloper! Just wanted to check in to see how best we could collaborate! We could either use the Modin slack to pair program and resolve the conflicts, or if you'd prefer, I can always resolve them locally (on my laptop) on your branch, and push to this PR! Please let me know which one you'd prefer! Looking forward to collaborating! |
Hi @RehanSD thanks for reaching out! I would prefer to pair program and using slack (but I need an invitation I guess?) if that's fine for you? Ill send an email to your berkeley.edu mail address for detailed communication. |
Move all modin.pandas releated tests from modin/modin/pandas/test into modin/modin/test/pandas. change conftest.py to adapt regarding. Change entries in CI - .github/workflows/*.yml to use the changed folders instead of the old ones Signed-off-by: Bertold Sedlak <berti.sedlak@gmail.com>
Fix import error within experimental pandas test using previously moved test file Signed-off-by: Bertold Sedlak <berti.sedlak@gmail.com>
Fix references in Files to import modin.pandas.test or using modin/pandas/test to new version Also fix references in documentation. Signed-off-by: Bertold Sedlak <berti.sedlak@gmail.com>
Move all tests from modin/config/test to modin/test/config replace reference in setup.cfg
Move contents modin/core/execution/dispatching/factories/test/ to modin/test/core/execution/dispatching/factories/ as well as entry in setup.cfg
Move modin/experimental/cloud/test/* to modin/test/experimental/cloud/* and entry in setup.cfg
Move all test folders from within experimental to modin/test/experimental also update entries in setup.cfg regarding
Chgange all references to tests to new folder structure
Change all test references to new folder structure
Change all references in github workflows push.yml to new folder structure
Move all modin.pandas releated tests from modin/modin/pandas/test into modin/modin/test/pandas. change conftest.py to adapt regarding. Change entries in CI - .github/workflows/*.yml to use the changed folders instead of the old ones Signed-off-by: Bertold Sedlak <berti.sedlak@gmail.com>
This pull request fixes 1 alert when merging bd959b5 into 99e8507 - view on LGTM.com fixed alerts:
|
@RehanSD, @teaVeloper, what is the status here? |
Hi @YarShev! I think that this PR is stale - unless @teaVeloper has interest in taking it up again, I'd recommend closing for now, and attempting a refactor in a new PR? |
@teaVeloper, I am closing this PR as stale. Please reopen it if needed or create a new one if you feel to continue work on this. |
What do these changes do?
Working on Issue #3622
Move Tests for modin.pandas into directory modin/test/pandas and changing all references either in
imports
conftest.py
file readers
documentation
Github Actions
not resolving issue completely, as same needs to be done for other tests (I will do, after this PR is accepted, or shall I work on the whole issue before openin PR?).
flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
git commit -s
docs/developer/architecture.rst
is up-to-date