File tree Expand file tree Collapse file tree 2 files changed +5
-25
lines changed Expand file tree Collapse file tree 2 files changed +5
-25
lines changed Original file line number Diff line number Diff line change 66
66
command : |
67
67
set +e
68
68
declare -i test_status
69
- bazel test //secretflow_serving/ ... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors | tee test_result.log; test_status=${PIPESTATUS[0]}
69
+ bazel test //... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors | tee test_result.log; test_status=${PIPESTATUS[0]}
70
70
71
71
sh ../devtools/rename-junit-xml.sh
72
72
find bazel-bin/ -executable -type f -name "*_test" -print0 | xargs -0 tar -cvzf test_binary.tar.gz
@@ -140,34 +140,14 @@ jobs:
140
140
command : |
141
141
set +e
142
142
declare -i test_status
143
- bazel test //secretflow_serving/... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors | tee test_result.log; test_status=${PIPESTATUS[0]}
143
+
144
+ # only test lib ut
145
+ bazel test //secretflow_serving_lib/... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors | tee test_result.log; test_status=${PIPESTATUS[0]}
144
146
145
147
sh ../devtools/rename-junit-xml.sh
146
148
find bazel-bin/ -executable -type f -name "*_test" -print0 | xargs -0 tar -cvzf test_binary.tar.gz
147
149
find bazel-testlogs/ -type f -name "test.log" -print0 | xargs -0 tar -cvzf test_logs.tar.gz
148
150
149
- exit ${test_status}
150
- - run :
151
- name : " integration test"
152
- command : |
153
- set +e
154
- source ~/miniconda3/bin/activate
155
-
156
- declare -i test_status
157
-
158
- python3 .ci/integration_test.py 2>&1 | tee integration_test.log; test_status=${PIPESTATUS[0]}
159
-
160
- exit ${test_status}
161
- - run :
162
- name : " accuracy test"
163
- command : |
164
- set +e
165
- source ~/miniconda3/bin/activate
166
-
167
- declare -i test_status
168
-
169
- python3 .ci/accuracy_test.py 2>&1 | tee accuracy_test.py.log; test_status=${PIPESTATUS[0]}
170
-
171
151
exit ${test_status}
172
152
173
153
workflows :
Original file line number Diff line number Diff line change 12
12
13
13
# get ops
14
14
ops = serving .get_all_ops ()
15
- assert len (ops ) == 3
15
+ assert len (ops ) > 0
16
16
17
17
# get ops
18
18
op = serving .get_op ("MERGE_Y" )
You can’t perform that action at this time.
0 commit comments