-
Notifications
You must be signed in to change notification settings - Fork 451
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
Configure pytest to run on staging by default + flags in config #1093
Conversation
The documentation is not available anymore as the PR was closed or merged. |
Codecov ReportBase: 78.48% // Head: 84.84% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1093 +/- ##
==========================================
+ Coverage 78.48% 84.84% +6.36%
==========================================
Files 38 38
Lines 3913 3913
==========================================
+ Hits 3071 3320 +249
+ Misses 842 593 -249
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. |
…gface_hub into try-to-speed-up-tests
Very nice Quality of Life improvement for developing! |
Exactly what I thought when googling for a solution 😄 |
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.
This is a very welcome change, thank you @Wauplin
This PR updates pytest configuration:
HUGGINGFACE_CO_STAGING=1
is now automagic 🎉 (usingpytest-env
)-sv --log-cli-level=INFO
is set by default--durations=0
to measure and print execution time of each test (I am curious to know where we can improve)Basically it guarantees that local tests are run the same way as CI tests: