diff --git a/.github/workflows/hub-ci.yml b/.github/workflows/hub-ci.yml index 8759562f1926f47e3f70e2de7368bab2c8b0396f..69a3389833c084ccf261996c6e2a034d3622bdd6 100644 --- a/.github/workflows/hub-ci.yml +++ b/.github/workflows/hub-ci.yml @@ -30,4 +30,4 @@ jobs: run: pwd && cd hub-tests && bash -x ./prep_tests.sh && cd .. - name: Run the tests working-directory: crowdsec-pull/tests/ - run: for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do echo "Testing $i" ; ./main $i || exit 1 ; done + run: for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do echo "Testing $i" ; ./main $i || (echo "failed test for ${i}" ; diff ${i}"/results.yaml" ${i}"/results.yaml.fail") ; done