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

TEST-#5664: speedup Post Run conda-incubator/setup-miniconda@v2 step on Windows #5662

Merged
merged 4 commits into from
Feb 18, 2023

Conversation

anmyachev
Copy link
Collaborator

@anmyachev anmyachev commented Feb 15, 2023

What do these changes do?

  • first commit message and PR title follow format outlined here

    NOTE: If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

  • passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
  • passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
  • signed commit with git commit -s
  • Resolves Post Run conda-incubator/setup-miniconda@v2 step ~150 times slower on windows-latest than on ubuntu-latest #5664
  • tests added and passing
  • module layout described at docs/development/architecture.rst is up-to-date

@anmyachev anmyachev changed the title TEST-#0000: stop ray cluster in 'test-windows' CI job TEST-#5664: speedup Post Run conda-incubator/setup-miniconda@v2 step on Windows Feb 15, 2023
@@ -863,14 +863,6 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Cache conda
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there is no visible result from the step and we do not save this folder with the cache, this step can be deleted.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should then remove this step in push.yml as well.

Signed-off-by: Anatoly Myachev <[email protected]>
Signed-off-by: Anatoly Myachev <[email protected]>
Signed-off-by: Anatoly Myachev <[email protected]>
@@ -906,6 +898,11 @@ jobs:
run: python -m pytest modin/pandas/test/test_io.py --verbose
if: matrix.test-task == 'modin/pandas/test/test_io.py'
- uses: codecov/codecov-action@v2
- name: Stop local ray cluster
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good practice to explicitly release resources.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing should be done in push.yml.

@anmyachev anmyachev marked this pull request as ready for review February 15, 2023 17:22
@anmyachev anmyachev requested a review from a team as a code owner February 15, 2023 17:22
@anmyachev
Copy link
Collaborator Author

@mvashishtha could you take a look?

@mvashishtha mvashishtha merged commit 7a5433a into modin-project:master Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Post Run conda-incubator/setup-miniconda@v2 step ~150 times slower on windows-latest than on ubuntu-latest
3 participants