File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ function run_test() {
7
7
local erase_flash=$4
8
8
local sketchdir=$( dirname $sketch )
9
9
local sketchname=$( basename $sketchdir )
10
+ local error=0
10
11
11
12
# If the target or platform is listed as false, skip the sketch. Otherwise, include it.
12
13
if [ -f $sketchdir /ci.json ]; then
@@ -86,9 +87,10 @@ function run_test() {
86
87
bash -c " pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args "
87
88
result=$?
88
89
if [ $result -ne 0 ]; then
89
- return $result
90
+ error= $result
90
91
fi
91
92
done
93
+ return $error
92
94
}
93
95
94
96
SCRIPTS_DIR=" ./.github/scripts"
Original file line number Diff line number Diff line change @@ -137,23 +137,23 @@ jobs:
137
137
continue-on-error : true
138
138
with :
139
139
merge-multiple : true
140
- pattern : test -results-hw-*
140
+ pattern : tests -results-hw-*
141
141
path : ./results/hw
142
142
143
143
- name : Download and Extract Wokwi Artifacts
144
144
uses : actions/download-artifact@v4
145
145
continue-on-error : true
146
146
with :
147
147
merge-multiple : true
148
- pattern : test -results-wokwi-*
148
+ pattern : tests -results-wokwi-*
149
149
path : ./results/wokwi
150
150
151
151
- name : Download and Extract QEMU Artifacts
152
152
uses : actions/download-artifact@v4
153
153
continue-on-error : true
154
154
with :
155
155
merge-multiple : true
156
- pattern : test -results-qemu-*
156
+ pattern : tests -results-qemu-*
157
157
path : ./results/qemu
158
158
159
159
- name : Publish Unit Test Results
You can’t perform that action at this time.
0 commit comments