File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Self-Hosted-CPU
2
2
3
3
on :
4
4
push :
5
- branches : [ master, self-hosted-runner ]
5
+ branches : [ master ]
6
6
pull_request :
7
7
branches : [ master ]
8
8
workflow_dispatch :
79
79
- name : Check for unit tests results
80
80
working-directory : ${{ env.build_dir }}
81
81
run : |
82
- if cat ${{ env.unit-test-file }} | grep -q "FAILED" ; then
82
+ if grep -q "FAILED" ${{ env.unit-test-file }}; then
83
83
exit 1
84
84
fi
85
85
98
98
- name : Check for regression tests results
99
99
working-directory : ${{ env.build_dir }}/python
100
100
run : |
101
- if cat ${{ env.regression-test-file }} | grep -q "FAILED" ; then
101
+ if grep -q "FAILED" ${{ env.regression-test-file }}; then
102
102
exit 1
103
103
fi
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Self-Hosted-GPU
2
2
3
3
on :
4
4
push :
5
- branches : [ master, self-hosted-runner ]
5
+ branches : [ master ]
6
6
pull_request :
7
7
branches : [ master ]
8
8
workflow_dispatch :
79
79
- name : Check for unit tests results
80
80
working-directory : ${{ env.build_dir }}
81
81
run : |
82
- if cat ${{ env.unit-test-file }} | grep -q "FAILED" ; then
82
+ if grep -q "FAILED" ${{ env.unit-test-file }}; then
83
83
exit 1
84
84
fi
85
85
98
98
- name : Check for regression tests results
99
99
working-directory : ${{ env.build_dir }}/python
100
100
run : |
101
- if cat ${{ env.regression-test-file }} | grep -q "FAILED" ; then
101
+ if grep -q "FAILED" ${{ env.regression-test-file }}; then
102
102
exit 1
103
103
fi
You can’t perform that action at this time.
0 commit comments