Skip to content

Commit a2f0efb

Browse files
committed
Ensure we execute the error handler on failed make
1 parent 09642b8 commit a2f0efb

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/common.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ jobs:
7979
echo NO_PROXY=${NO_PROXY}
8080
export no_proxy="${no_proxy},192.168.0.0/16,fe80::/10"
8181
echo no_proxy=${no_proxy}
82-
make APP_ROOT="${APP_ROOT}" LOG_ROOT="${LOG_ROOT}" test install-kernel integration
83-
status=$?
84-
if [ "${status}" -ne "0" ] ; then
82+
make APP_ROOT="${APP_ROOT}" LOG_ROOT="${LOG_ROOT}" test install-kernel integration || status=$?
83+
if [ "${status:-0}" -ne "0" ] ; then
8584
echo tests failed with status: ${status}
8685
if [ -d "${LOG_ROOT}" ] ; then
8786
tar czf container-logs.tar.gz "${LOG_ROOT}"

0 commit comments

Comments
 (0)