Skip to content

fix: Temporarily ignore the unit tests entirely. We'll branch off and… #169

fix: Temporarily ignore the unit tests entirely. We'll branch off and…

fix: Temporarily ignore the unit tests entirely. We'll branch off and… #169

name: Arduino CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create required directories
run: |
mkdir -p $GITHUB_WORKSPACE/libraries
mkdir -p $GITHUB_WORKSPACE/.arduino15
mkdir -p $GITHUB_WORKSPACE/Arduino
- name: Setup Arduino CLI
uses: arduino/setup-arduino-cli@v1
- name: Configure Arduino CLI
run: |
arduino-cli config init
arduino-cli config set library.enable_unsafe_install true
arduino-cli core update-index
arduino-cli core install arduino:avr
- name: Install OneWire library
run: |
arduino-cli lib install OneWire
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
- name: Install Arduino CI
run: |
gem install arduino_ci -v 1.5.0