Can we mark jobs as allowed to fail?

This commit is contained in:
Henry Gabryjelski 2020-01-16 16:45:54 -08:00
parent bee96c4a80
commit cb97944642
2 changed files with 7 additions and 0 deletions

View file

@ -56,4 +56,8 @@ jobs:
arduino-cli lib install $LIB_DEPS
- name: Build examples
allow_failure: true
run: python3 extras/build_all.py ${{ matrix.arduino-platform }}
# - name: Build examples with all warnings enabled
# run: python3 extras/build_all.py ${{ matrix.arduino-platform }} all_warnings

View file

@ -23,6 +23,9 @@ if len(sys.argv) > 1:
else:
build_boards = default_boards
all_warnings = True if 'all_warnings' in sys.arv[2:]
def errorOutputFilter(line):
if len(line) == 0:
return False