File tree 1 file changed +4
-18
lines changed
1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change 60
60
- name : wolfmqtt make
61
61
run : make
62
62
- name : wolfmqtt make check
63
- id : make-check
64
63
run : make check
65
- - name : Show logs on failure
66
- if : ${{ failure() && steps.make-check.outcome == 'failure' }}
67
- run : |
68
- more test-suite.log
69
64
70
65
env :
71
66
WOLFMQTT_NO_EXTERNAL_BROKER_TESTS : 1
@@ -75,33 +70,24 @@ jobs:
75
70
- name : wolfmqtt make
76
71
run : make
77
72
- name : wolfmqtt make check
78
- id : make-check-sn
79
73
run : make check
80
- - name : Show logs on failure
81
- if : ${{ failure() && steps.make-check-sn.outcome == 'failure' }}
82
- run : |
83
- more test-suite.log
84
74
85
75
- name : wolfmqtt configure with Non-Block
86
76
run : ./configure --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
87
77
- name : wolfmqtt make
88
78
run : make
89
79
- name : wolfmqtt make check
90
- id : make-check-nonblock
91
80
run : make check
92
- - name : Show logs on failure
93
- if : ${{ failure() && steps.make-check-nonblock.outcome == 'failure' }}
94
- run : |
95
- more test-suite.log
96
81
97
82
- name : wolfmqtt configure with Non-Block and Multi-threading
98
83
run : ./configure --enable-mt --enable-nonblock CFLAGS="-DWOLFMQTT_TEST_NONBLOCK"
99
84
- name : wolfmqtt make
100
85
run : make
101
86
- name : wolfmqtt make check
102
- id : make-check-nonblock-mt
103
87
run : make check
88
+
89
+ # capture logs on failure
104
90
- name : Show logs on failure
105
- if : ${{ failure() && steps.make-check-nonblock-mt.outcome == 'failure' }}
91
+ if : failure() || cancelled()
106
92
run : |
107
- more test-suite.log
93
+ cat test-suite.log
You can’t perform that action at this time.
0 commit comments