Skip to content

Workflow - Windows Unit Tests#1844

Merged
dsherry merged 41 commits intomainfrom
1827-Windows-Unit-Tests
Feb 18, 2021
Merged

Workflow - Windows Unit Tests#1844
dsherry merged 41 commits intomainfrom
1827-Windows-Unit-Tests

Conversation

@ParthivNaresh
Copy link
Contributor

@ParthivNaresh ParthivNaresh commented Feb 14, 2021

Fixes #1827

@ParthivNaresh ParthivNaresh self-assigned this Feb 14, 2021
@ParthivNaresh ParthivNaresh changed the title GitHub Actions - Windows Unit Tests Workflow - Windows Unit Tests Feb 14, 2021
@codecov
Copy link

codecov bot commented Feb 14, 2021

Codecov Report

Merging #1844 (6e4f847) into main (f9156d1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1844   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         255      255           
  Lines       20644    20644           
=======================================
  Hits        20636    20636           
  Misses          8        8           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9156d1...6e4f847. Read the comment docs.

Copy link
Contributor

@freddyaboulton freddyaboulton left a comment

Choose a reason for hiding this comment

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

@ParthivNaresh Looks good to me! Looks like the runtime for the windows tests is about 30 minutes which is about the same as circleci so I think it's a good idea to use 4 workers!

run: |
. $env:USERPROFILE\Miniconda3\shell\condabin\conda-hook.ps1
conda activate curr_py
pytest evalml/ -n 4 --doctest-modules --cov=evalml --junitxml=test-reports/junit.xml --doctest-continue-on-failure
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not make this the win-git-test command?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had it like that previously and for some reason it had failed, changed it back now, thanks!

Copy link
Contributor

@bchen1116 bchen1116 left a comment

Choose a reason for hiding this comment

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

nice!

Copy link
Contributor

@dsherry dsherry left a comment

Choose a reason for hiding this comment

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

Looks great, nice going!

pytest evalml/ -n 8 --doctest-modules --cov=evalml --junitxml=test-reports/junit.xml --doctest-continue-on-failure -v
.PHONY: win-git-test
win-git-test:
pytest evalml/ -n 4 --doctest-modules --cov=evalml --junitxml=test-reports/junit.xml --doctest-continue-on-failure
Copy link
Contributor

Choose a reason for hiding this comment

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

@ParthivNaresh so this was enough to avoid the memory issues on the GH actions box?

I see the runtime of the two GH actions on this PR was about 33min. I also see the runtimes of the windows job on circleci on main has ranged from 28min-33min in the recent past. This makes me think by cutting the number of workers we're incurring a slight runtime cost, but its not as bad as I would've guessed. Seems acceptable. Sweet!

@dsherry dsherry merged commit 99dd43e into main Feb 18, 2021
@chukarsten chukarsten mentioned this pull request Feb 23, 2021
@dsherry dsherry mentioned this pull request Mar 10, 2021
@freddyaboulton freddyaboulton deleted the 1827-Windows-Unit-Tests branch May 13, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Actions - Workflow - windows python X.X unit tests

4 participants