-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Add vscode task code coverage #53783
Add vscode task code coverage #53783
Conversation
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.
LGTM. A nice addition !! Thanks @mib1185
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.
component -> integration
Co-authored-by: Joakim Sørensen <[email protected]>
Test discovery task fails here, reverting this change make it works again. Simone |
There is no "Test discovery" task |
Is part of VScode: Here's the reference PR in witch Simone |
I can confirm that it works! could the problem be a failing test, in that case “test discovery” fails. |
On a fresh devcontainer you need to install |
Oh really ? Since when ? Simone |
Yes, I don't know. |
Running
Nope, I have a failing test but discovery worked fine; is just a matter of dependecies. Simone |
I don't see an issue with adding it, make a PR to have that discussion there instead of here. |
Done: #55469 Simone |
Proposed change
This will add a new VSCode task to start code coverage report for a specific integration:
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: