-
Notifications
You must be signed in to change notification settings - Fork 3
Arduino CI failing without clear error #20
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
Comments
Alright, I should have read the closed issues before I wrote this, sorry... Below you can find the fixed config file I used in the end: name: Arduino_CI
on: [pull_request,push]
jobs:
arduino_ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Arduino-CI/[email protected] # or latest, or a pinned version
env:
# Not all libraries are in the root directory of a repository.
# Specifying the path of the library here (relative to the root
# of the repository) will adjust that.
#
# The default is the current directory
#
USE_SUBDIR: .
# Not all libraries include examples or unit tests. The default
# behavior of arduino_ci is to assume that "if the files don't
# exist, then they were not MEANT to exist". In other words,
# if you were to accidentally delete all your tests or example
# sketches, then the CI runner would by default assume that was
# intended and return a passing result.
#
# If you'd rather have the test runner fail the test in the
# absence of either tests or examples, uncommenting either of
# the following variables to 'true' (as appropriate) will
# enforce that.
#
EXPECT_EXAMPLES: true
# Although dependencies will be installed automatically via the
# library manager, your library under test may require an
# unofficial version of a dependency. In those cases, the custom
# libraries must be insalled prior to the test execution; those
# installation commands should be placed in a shell script (that
# will be executed by /bin/sh) stored in your library.
#
# Then, set this variable to the path to that file (relative to
# the root of your repository). The script will be run from
# within the Arduino libraries directory; you should NOT attempt
# to find that directory nor change to it from within the script.
#
# CUSTOM_INIT_SCRIPT: install_dependencies.sh |
Hi @midasgossye - I'm sorry for the confusion -- as you can see, I confused myself for a bit there with the way those environment variables are converted to boolean 🤦 But it looks like I haven't properly updated the project README about that mistake, so I will take care of that. Thanks for letting me know! |
No worries, glad I could sort of help out 😅 |
That's really nice of you to say! Please don't hesitate to open issues for other stuff that you run across. Documentation is the hardest thing for me to write, since I don't have a way to replicate being a first time user of the project |
Hey guys,
I just tried using the Arduino CI action on an Arduino library I wrote (github.com/Whaddadraft/VMA430_GPS_Module), but it keeps failing...
I can't really find the error in the logfile, but maybe that's purely because of my inexperience and/or incompetence...
Any help would be greatly appreciated!
I added the log file on the action step that keeps failing below, together with the used yml config file:
The text was updated successfully, but these errors were encountered: