File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 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
22
33on :
44 push :
5- branches : [ master, self-hosted-runner ]
5+ branches : [ master ]
66 pull_request :
77 branches : [ master ]
88 workflow_dispatch :
7979 - name : Check for unit tests results
8080 working-directory : ${{ env.build_dir }}
8181 run : |
82- if cat ${{ env.unit-test-file }} | grep -q "FAILED" ; then
82+ if grep -q "FAILED" ${{ env.unit-test-file }}; then
8383 exit 1
8484 fi
8585
9898 - name : Check for regression tests results
9999 working-directory : ${{ env.build_dir }}/python
100100 run : |
101- if cat ${{ env.regression-test-file }} | grep -q "FAILED" ; then
101+ if grep -q "FAILED" ${{ env.regression-test-file }}; then
102102 exit 1
103103 fi
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Self-Hosted-GPU
22
33on :
44 push :
5- branches : [ master, self-hosted-runner ]
5+ branches : [ master ]
66 pull_request :
77 branches : [ master ]
88 workflow_dispatch :
7979 - name : Check for unit tests results
8080 working-directory : ${{ env.build_dir }}
8181 run : |
82- if cat ${{ env.unit-test-file }} | grep -q "FAILED" ; then
82+ if grep -q "FAILED" ${{ env.unit-test-file }}; then
8383 exit 1
8484 fi
8585
9898 - name : Check for regression tests results
9999 working-directory : ${{ env.build_dir }}/python
100100 run : |
101- if cat ${{ env.regression-test-file }} | grep -q "FAILED" ; then
101+ if grep -q "FAILED" ${{ env.regression-test-file }}; then
102102 exit 1
103103 fi
You can’t perform that action at this time.
0 commit comments