Skip to content
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

Update arduino_test_runner.yml #86

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 41 additions & 9 deletions .github/workflows/arduino_test_runner.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,49 @@
---
name: Arduino CI
name: Arduino_CI

on: [push, pull_request]
on: [pull_request]

jobs:
runTest:
arduino_ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- run: |
gem install arduino_ci
arduino_ci.rb
- 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: .

# 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
Loading