Add non-zero exit code when flashing fails #38
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: Build | |
on: [pull_request, push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.x' | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install adafruit-nrfutil | |
run: | | |
pip3 install -r requirements.txt | |
python3 setup.py install | |
- name: Run Test | |
run: | | |
adafruit-nrfutil version | |
adafruit-nrfutil dfu genpkg --dev-type 0x0052 --sd-req 0x00B6 --application tests/resources/blinky.bin blinky.zip |