adafruit / ci-arduino

A script that will install all of the common dependencies for testing Arduino library builds using Github Actions
MIT License
115 stars 73 forks source link

Include/exclude tested sources #55

Closed suculent closed 4 years ago

suculent commented 4 years ago

I have private repository full of various .ino files, but only one folder (./src) is valid for testing. Or let's say I'd like to add ./test to have all the tests implemented there. How do I exclude other files? Or how do I set build root?

Sorry for using GitHub for a FAQ.

ladyada commented 4 years ago

hiya you'd probably need to adapt https://github.com/adafruit/travis-ci-arduino/blob/master/install.sh and make your own version!

suculent commented 4 years ago

Seems I've found a more straightforward solution to original question (a bit outside the box). All it needs is to - cd ./src or - cd ./test in the CI script before running this build_main_platform script in order to divide code forks as needed...

ladyada commented 4 years ago

great!