grouping to make it better
This commit is contained in:
parent
e652454c2b
commit
02cc5e2b88
1 changed files with 6 additions and 1 deletions
7
.github/workflows/hub-ci.yml
vendored
7
.github/workflows/hub-ci.yml
vendored
|
@ -30,4 +30,9 @@ 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 || (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 "::group::Test-${i}" ;
|
||||
./main $i || (echo "::error file=${i}::Failed test for ${i}" ; diff ${i}"/results.yaml" ${i}"/results.yaml.fail") ;
|
||||
echo "::endgroup::
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue