Skip to content

Commit 924d7bc

Browse files
committed
test - don't group log lines for CI in workflow yaml
This revert part of #13787 that added grouping of log lines in CI for test-smokes.yml because for some tests like smoke-all.test.ts or playwright-tests.test.ts this is too large grouping and it makes it hard to navigate the logs in GitHub Actions UI.
1 parent 4ecacec commit 924d7bc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/test-smokes.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,14 +270,12 @@ jobs:
270270
failed_tests=()
271271
readarray -t my_array < <(echo '${{ inputs.buckets }}' | jq -rc '.[]')
272272
for file in "${my_array[@]}"; do
273-
echo "::group::Running ${file}"
274273
echo ">>> ./run-tests.sh ${file}"
275274
# Run tests without -e so we don't exit on first failure
276275
set +e
277276
shopt -s globstar && ./run-tests.sh "$file"
278277
status=$?
279278
set -e
280-
echo "::endgroup::"
281279
if [ $status -ne 0 ]; then
282280
echo "::error title=Test Bucket Failed::Test bucket ${file} failed with exit code ${status}"
283281
echo ">>> Error found in test file: ${file}"
@@ -307,11 +305,9 @@ jobs:
307305
$haserror=$false
308306
$failed_tests=@()
309307
foreach ($file in ('${{ inputs.buckets }}' | ConvertFrom-Json)) {
310-
Write-Host "::group::Running ${file}"
311308
Write-Host ">>> ./run-tests.ps1 ${file}"
312309
./run-tests.ps1 $file
313310
$status=$LASTEXITCODE
314-
Write-Host "::endgroup::"
315311
if ($status -ne 0) {
316312
Write-Host "::error title=Test Bucket Failed::Test bucket ${file} failed with exit code ${status}"
317313
Write-Host ">>> Error found in test file: ${file}"

0 commit comments

Comments
 (0)