Pārlūkot izejas kodu

chore(ci): Ensure exit 1 at test failure

Zaiming Shi 5 gadi atpakaļ
vecāks
revīzija
f0e947a987
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      .github/workflows/run_fvt_tests.yaml

+ 1 - 0
.github/workflows/run_fvt_tests.yaml

@@ -47,6 +47,7 @@ jobs:
             if ! docker exec -i paho_client /scripts/pytest.sh; then
               docker logs node1.emqx.io
               docker logs node2.emqx.io
+              exit 1
             fi
 
     helm_test: