Skip to content

Commit 43e211a

Browse files
fix the category issue
1 parent f510c3c commit 43e211a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/linux-uttest/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ runs:
162162
163163
# All xpu ut under test/profiler
164164
cd ../../test/profiler
165-
python -m pytest -s test_cpp_thread.py --junit-xml=${{ github.workspace }}/ut_log/test_cpp_thread.xml | \
165+
python -m pytest -s test_cpp_thread.py --junit-xml=${{ github.workspace }}/ut_log/xpu_profiling_test_cpp_thread.xml | \
166166
tee ${{ github.workspace }}/ut_log/xpu_profiling/test_cpp_thread.log
167-
python -m pytest -s test_execution_trace.py --junit-xml=${{ github.workspace }}/ut_log/test_execution_trace.xml | \
167+
python -m pytest -s test_execution_trace.py --junit-xml=${{ github.workspace }}/ut_log/xpu_profiling_test_execution_trace.xml | \
168168
tee ${{ github.workspace }}/ut_log/xpu_profiling/test_execution_trace.log
169-
python -m pytest -s test_memory_profiler.py --junit-xml=${{ github.workspace }}/ut_log/test_memory_profiler.xml | \
169+
python -m pytest -s test_memory_profiler.py --junit-xml=${{ github.workspace }}/ut_log/xpu_profiling_test_memory_profiler.xml | \
170170
tee ${{ github.workspace }}/ut_log/xpu_profiling/test_memory_profiler.log
171-
python -m pytest -s -vs test_profiler_tree.py --junit-xml=${{ github.workspace }}/ut_log/test_profiler_tree.xml | \
171+
python -m pytest -s -vs test_profiler_tree.py --junit-xml=${{ github.workspace }}/ut_log/xpu_profiling_test_profiler_tree.xml | \
172172
tee ${{ github.workspace }}/ut_log/xpu_profiling/test_profiler_tree.log
173173
174174
- name: xpu_distributed

.github/scripts/check-ut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def determine_category(ut):
247247
return 'op_transformers'
248248
elif ut == 'test_xpu':
249249
return 'test_xpu'
250-
elif ut == 'xpu_profiling':
250+
elif 'xpu_profiling' in ut:
251251
return 'xpu_profiling'
252252
elif 'op_ut' in ut:
253253
return 'op_ut'

0 commit comments

Comments
 (0)