Ver código fonte

grouping to make it better

Thibault bui Koechlin 5 anos atrás
pai
commit
57bf07ee44
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      .github/workflows/hub-ci.yml

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

@@ -31,8 +31,8 @@ jobs:
     - name: Run the tests
       working-directory: crowdsec-pull/tests/
       run: |
-      for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do 
-        echo "::group::Test-${i}" ; 
-        ./main $i || (echo "::error file=${i}::Failed test for ${i}" ; diff ${i}"/results.yaml" ${i}"/results.yaml.fail") ;
-        echo "::endgroup::" ;
-      done 
+        for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do 
+          echo "::group::Test-${i}" ; 
+          ./main $i || (echo "::error file=${i}::Failed test for ${i}" ; diff ${i}"/results.yaml" ${i}"/results.yaml.fail") ;
+          echo "::endgroup::" ;
+        done ;