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

Improve test speed #445

Merged
merged 5 commits into from
Oct 16, 2022
Merged

Improve test speed #445

merged 5 commits into from
Oct 16, 2022

Conversation

blink1073
Copy link
Contributor

@blink1073 blink1073 commented Oct 15, 2022

Follow advice from https://github.com/zupo/awesome-pytest-speedup

Locally the full test suite went from 200s -> 56s.

@blink1073 blink1073 enabled auto-merge (squash) October 15, 2022 21:54
@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2022

Codecov Report

Base: 81.16% // Head: 81.27% // Increases project coverage by +0.11% 🎉

Coverage data is based on head (7a53af6) compared to base (7977e0e).
Patch coverage: 76.47% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #445      +/-   ##
==========================================
+ Coverage   81.16%   81.27%   +0.11%     
==========================================
  Files          20       20              
  Lines        2824     2831       +7     
  Branches      365      366       +1     
==========================================
+ Hits         2292     2301       +9     
+ Misses        399      397       -2     
  Partials      133      133              
Impacted Files Coverage Δ
jupyter_releaser/python.py 72.61% <ø> (ø)
jupyter_releaser/tests/test_cli.py 98.87% <ø> (ø)
jupyter_releaser/mock_github.py 63.37% <14.28%> (-0.75%) ⬇️
jupyter_releaser/tests/conftest.py 97.48% <60.00%> (-1.26%) ⬇️
jupyter_releaser/lib.py 79.81% <100.00%> (+1.80%) ⬆️
jupyter_releaser/util.py 70.02% <100.00%> (+0.30%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@blink1073 blink1073 merged commit 7cbb682 into jupyter-server:main Oct 16, 2022
@blink1073 blink1073 deleted the pytest-speedup branch October 16, 2022 02:04
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.

2 participants