Giter Site home page Giter Site logo

Comments (1)

ianfixes avatar ianfixes commented on July 22, 2024

Now that I've had some time to think about implementing this, I'm not so sure it's a good idea.

The value of the Adafruit install.sh script is that it enables you to compile sketches on CI. With one line of code, you can have the CI machine perform the same steps that you would perform in your development environment: compiling the sketches.

Creating my own install.sh would be fairly trivial, but that would set up a situation where the CI machine has a capability that you don't have on your local machine -- the ability to run unit tests.
This means that the development cycle for unit tests would be:

  1. making a change to the codebase
  2. committing the change
  3. pushing the commit to GitHub
  4. waiting for the CI machine to pick up the job
  5. waiting for the CI machine to do the initial download of all the Arduino stuff
  6. have the CI machine execute unit tests
  7. wait for the results to appear, either in the CI console log or a GitHub notification

It seems much more sensible to just download the unit testing capability to your own machine and then just:

  1. make a change to the codebase
  2. run the unit tests locally (with the same command that the CI machine will use)

Is there a use case I'm not considering here?

from arduino_ci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.