From ea3b21b7cd078296dd359a4eba19bef40522b295 Mon Sep 17 00:00:00 2001 From: eyal0 <109809+eyal0@users.noreply.github.com> Date: Mon, 8 Feb 2021 21:12:14 -0700 Subject: [PATCH] ci: Use nested groups for examples This fixes #536 --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64667f0ef..280a65967 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -263,8 +263,8 @@ jobs: run: | pushd testing/gerbv_example ls | parallel -k -j ${NUM_CPUS} --halt soon,fail=1 ' - { pushd {}; - echo "Running on {}"; + { echo "::group::Running on {}"; + pushd {}; if [[ -f "no-valgrind" ]]; then cat no-valgrind; fi; @@ -273,8 +273,9 @@ jobs: else time valgrind --error-exitcode=127 --errors-for-leak-kinds=definite --leak-check=full -- ../../../pcb2gcode || exit; fi; - echo "Finished on {}"; - popd; } 2>&1' + popd; + echo "::endgroup::"; + } 2>&1' popd - name: Reset coverage if: matrix.code_coverage