-
-
Notifications
You must be signed in to change notification settings - Fork 385
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 support for default build profile #2203
Add support for default build profile #2203
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2203 +/- ##
==========================================
+ Coverage 62.98% 63.12% +0.13%
==========================================
Files 221 221
Lines 19746 19771 +25
==========================================
+ Hits 12438 12481 +43
+ Misses 6206 6186 -20
- Partials 1102 1104 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
c2ca884
to
5ef1067
Compare
5ef1067
to
5193612
Compare
5193612
to
44352a9
Compare
44352a9
to
ac22360
Compare
ac22360
to
4d3bb2c
Compare
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.
I tested it extensively, and works as expected! 👍🏼
I've added some more integration tests, as soon as the CI pass, it's mergeable for me.
* Add support for default profile to compile command * Add support for default profiles to upload command * Add TestCompileWithDefaultProfile to integration tests * Get the profile's FQBN if it's not already specified in the request * Update documentation regarding sketch projects * Added integration tests for all default_profile cases * Reverted old sketch_with_profile test --------- Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
…#2304 (#2305) * Add support for default build profile (#2203) * Add support for default profile to compile command * Add support for default profiles to upload command * Add TestCompileWithDefaultProfile to integration tests * Get the profile's FQBN if it's not already specified in the request * Update documentation regarding sketch projects * Added integration tests for all default_profile cases * Reverted old sketch_with_profile test --------- Co-authored-by: Cristian Maglie <c.maglie@arduino.cc> * [skip-changelog] Use `LoadSketch` in upload function and return `rpc.Port` in `GetPort` (#2297) * Change GetPort's returned type to rpc.Port * Use LoadSketch in runUploadCommand --------- Co-authored-by: MatteoPologruto <109663225+MatteoPologruto@users.noreply.github.com>
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
Code enhancement
What is the new behavior?
It is now possible to
compile
andupload
using thedefault_profile
specified in thesketch.yaml
file through the following commands:The
gRPC
interface also supports thedefault_profile
. If present, it will be part ofLoadSketchResponse
(#2264).Does this PR introduce a breaking change, and is titled accordingly?
No