Browse Source

proper error ?

Thibault bui Koechlin 5 years ago
parent
commit
e652454c2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/hub-ci.yml

+ 1 - 1
.github/workflows/hub-ci.yml

@@ -30,4 +30,4 @@ jobs:
       run: pwd && cd hub-tests && bash -x ./prep_tests.sh && cd ..
       run: pwd && cd hub-tests && bash -x ./prep_tests.sh && cd ..
     - name: Run the tests
     - name: Run the tests
       working-directory: crowdsec-pull/tests/
       working-directory: crowdsec-pull/tests/
-      run: for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do echo "Testing $i" ; ./main $i || (echo "echo "::error file=${i}::Failed test for ${i}" ; diff ${i}"/results.yaml" ${i}"/results.yaml.fail") ; done 
+      run: for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do echo "Testing $i" ; ./main $i || (echo "::error file=${i}::Failed test for ${i}" ; diff ${i}"/results.yaml" ${i}"/results.yaml.fail") ; done