File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,23 @@ jobs:
141
141
uses : actions/download-artifact@v4
142
142
with :
143
143
name : ${{matrix.chip}}-${{matrix.chunks}}.artifacts
144
- path : ~/.arduino/tests/
144
+ path : ~/
145
145
146
146
- name : Run Tests
147
147
run : QEMU_PATH="${{env.QEMU_PATH}}" bash .github/scripts/tests_run.sh -c -t ${{matrix.chip}} -i ${{matrix.chunks}} -m ${{env.MAX_CHUNKS}} -q
148
148
149
+ - name : Check if tests were skipped
150
+ id : check-test-skipped
151
+ run : |
152
+ if [ $(find "tests" -name ".test_skipped") ]; then
153
+ echo "skipped=true" >> $GITHUB_OUTPUT
154
+ else
155
+ echo "skipped=false" >> $GITHUB_OUTPUT
156
+ fi
157
+
149
158
- name : Upload test result artifacts
150
159
uses : actions/upload-artifact@v4
151
- if : always()
160
+ if : ${{ always() && steps.check-test-skipped.outputs.skipped == 'false' }}
152
161
with :
153
162
name : qemu_results-${{matrix.chip}}-${{matrix.chunks}}
154
163
path : tests/*/*.xml
You can’t perform that action at this time.
0 commit comments