-
Notifications
You must be signed in to change notification settings - Fork 34
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
Drop compilation tests? #300
Comments
Well, first I should state that I am very biased because the My opinion is that
I don't think anything about the sketch compilation action release should make you consider dropping the unit testing aspects of I am not aware of any plans Arduino has to reproduce what ArduinoCore-APItests: ArduinoIoTCloud library:tests: ArduinoBLE library (WIP)tests: I did create the The unit testing efforts have focused on the low hanging fruit for host-side testing. The code it covers does not require extensive mocking of hardware. The sketch compilation actions are actually nothing new. Arduino has been using the sketch compilation action for over 1.5 years now, and the report-size-deltas action for a year. They have been developed and used in public repositories from the start. And this is the continuation of work I started four years ago with my
I definitely have a long "to do" list for the projects, but nothing very dramatic as far as the functionality and interface goes. I've been a bit hampered by the lack of a release in how much work I could do to the actions, so this will open things up for me a bit. However, I don't have any plans to add provisions for defining dependencies per sketch to the action. This can already be done via the GitHub Actions workflow system. You can see an example of something along those lines here: There has been some talk on and off about adding some form of support to Arduino CLI for defining library dependencies via the sketch metadata, and in fact Arduino Web Editor already does allow associating specific libraries with a sketch. Since |
This is all good info. For clarity, I would only consider dropping support for the compilation of examples, and even then only if you set up a local version of the test runner so you could try out the CI on your local machine first. I'm very glad to see CI/CD and testing start to pop up in an official capacity at Arduino -- my goal was to have such tooling, not write it myself. To that end, I'm wondering if/how the Arduino team would ever want to adopt the testing methodology I'm using (if not the ruby implementation itself) into a project owned by that organization. Which members of the Arduino team are part of that decision making process? I'd like to get a sense of what level of maturity I'd need to shoot for in order for that to be considered viable. |
@per1234 I saw the announcement about Github Actions for Arduino. Does this mean I should plan to drop such support from this project?
I get the sense that
arduino_ci
is a bit more advanced at the moment, given that I can specify different dependencies for each compiled example. But I assume the Arduino action is going to be developed further as well.Should I plan to drop support for some or all of
arduino_ci
in favor of the official action?The text was updated successfully, but these errors were encountered: