-
Notifications
You must be signed in to change notification settings - Fork 20
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
Miscelaneous changes #193
Miscelaneous changes #193
Conversation
joanise
commented
Jan 5, 2024
- optimize the CLI and report its speed in PR comments
- use the latest setup-ffmpeg action to get the latest ffmpeg in CI
- minor style changes suggested by ruff, that black doesn't revert
ruff is a drop-in replacement for black, flake8 and isort, but runs about 100 times faster. Ref: https://github.com/astral-sh/ruff On Studio, black accepts all the changes ruff makes. This commit applies what ruff did, and removed a superfluous command in test/run.py that ruff flagged, but does not change pre-commit or the dev dependencies yet.
Also, revert this commit: 2023-09-13 acd724e Eric Joanis ci: suppress redundant tests runs on PR and push It turns out doing CI on review_requested is not great, because: - if you request 2 or 3 reviews, it triggers the action 2 or 3 times - when the branch needs a real merge, we do want the result of the merge tested in CI, so we lost important validation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #193 +/- ##
=======================================
Coverage 87.03% 87.04%
=======================================
Files 21 21
Lines 1735 1744 +9
Branches 315 315
=======================================
+ Hits 1510 1518 +8
- Misses 188 189 +1
Partials 37 37 ☔ View full report in Codecov by Sentry. |
|
Not sure where that |
Windows is just inherently slow at opening files and likely NRC's security stack (which probably has some hideous "antivirus" that runs on every. single. call. to. fopen.) isn't helping there. Guessing that pkg_resources is the acoustic model files that we include with readalongs. |
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.
All looks good to me, presume that it works since tests pass!
Ouch, yes! Just tested on my personal machine. It's more recent by 3 years (I just bought it), but still, it runs these
Don't think so, that would appear in every scenario, and it's a top-level import from CI. Google tells me it's part of setuptools, maybe some things are installed differently on the CI image? |