Update arduino_test_runner.yml #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Arduino_CI | |
on: [pull_request] | |
jobs: | |
arduino_ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Arduino-CI/action@v0.1.6 # 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: src | |
# 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: false | |
EXPECT_UNITTESTS: 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 |