grouping to make it better

This commit is contained in:
Thibault bui Koechlin 2020-06-09 10:29:15 +02:00
parent 802bc0964e
commit 57bf07ee44

View file

@ -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 ;