File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -68,27 +68,35 @@ jobs:
6868 run : |
6969 chmod +x scripts/run_tests_fallback.sh
7070 ./scripts/run_tests_fallback.sh | tee ${{ env.unit-test-file }}
71- if cat ${{ env.unit-test-file }} | grep -q "FAILED"; then
72- exit 1
73- fi
7471
7572 - name : Upload unit tests resutls
7673 uses : actions/upload-artifact@v4
7774 with :
7875 name : ${{ env.unit-test-file }}
7976 path : ${{ env.build_dir }}/${{ env.unit-test-file }}
77+
78+ - name : Check for unit tests results
79+ working-directory : ${{ env.build_dir }}
80+ run : |
81+ if cat ${{ env.unit-test-file }} | grep -q "FAILED"; then
82+ exit 1
83+ fi
8084
8185 - name : Run regression-tests
8286 working-directory : ${{ env.build_dir }}/python
8387 run : |
8488 chmod +x run_tests.sh
8589 ./run_tests.sh | tee ${{ env.regression-test-file }}
86- if cat ${{ env.regression-test-file }} | grep -q "FAILED"; then
87- exit 1
88- fi
8990
9091 - name : Upload regression tests resutls
9192 uses : actions/upload-artifact@v4
9293 with :
9394 name : ${{ env.regression-test-file }}
9495 path : ${{ env.build_dir }}/python/${{ env.regression-test-file }}
96+
97+ - name : Check for regression tests results
98+ working-directory : ${{ env.build_dir }}/python
99+ run : |
100+ if cat ${{ env.regression-test-file }} | grep -q "FAILED"; then
101+ exit 1
102+ fi
You can’t perform that action at this time.
0 commit comments