File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ jobs:
198198 export GOPATH=$HOME/go
199199 export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
200200 pip install -r ${{ github.workspace }}/src/python/requirements.txt
201- ${{ github.workspace }}/src/integration-tests/run-tests \
201+ ret= ${{ github.workspace }}/src/integration-tests/run-tests \
202202 "${{ matrix.mode }} and ${{ matrix.cluster }} and ${{ matrix.consistency }}" \
203203 --log-level ERROR \
204204 --log-file-level=info \
@@ -210,7 +210,11 @@ jobs:
210210 --reruns=3 \
211211 --durations=0 \
212212 -n logical -v -rs
213-
213+ if [ "$ret" = 5 ]; then
214+ echo "No tests collected. Exiting with 0."
215+ exit 0
216+ fi
217+ exit "$ret"
214218 - name : Print core information
215219 if : failure()
216220 run : |
You can’t perform that action at this time.
0 commit comments