diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 895f1342b2..c44da7059e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -198,7 +198,7 @@ jobs: - name: Run SRS regression-test run: | docker run --rm srs:test bash -c './objs/srs -c conf/regression-test.conf && \ - cd 3rdparty/srs-bench && (./objs/srs_test -test.v || tail -n 100 ../../objs/srs.log) && ./objs/srs_gb28181_test -test.v' + cd 3rdparty/srs-bench && (./objs/srs_test -test.v || (tail -n 100 ../../objs/srs.log && exit -1)) && ./objs/srs_gb28181_test -test.v' runs-on: ubuntu-20.04 coverage: