Skip to content

Commit cb97944

Browse files
committed
Can we mark jobs as allowed to fail?
1 parent bee96c4 commit cb97944

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/githubci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,8 @@ jobs:
5656
arduino-cli lib install $LIB_DEPS
5757
5858
- name: Build examples
59+
allow_failure: true
5960
run: python3 extras/build_all.py ${{ matrix.arduino-platform }}
61+
62+
# - name: Build examples with all warnings enabled
63+
# run: python3 extras/build_all.py ${{ matrix.arduino-platform }} all_warnings

extras/build_all.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
else:
2424
build_boards = default_boards
2525

26+
all_warnings = True if 'all_warnings' in sys.arv[2:]
27+
28+
2629
def errorOutputFilter(line):
2730
if len(line) == 0:
2831
return False

0 commit comments

Comments
 (0)