From 1394a1a98f677c31e72f004171a3e82c62574bb7 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Fri, 12 Jun 2026 17:21:49 -0400 Subject: [PATCH] Print test summaries to the step log too Gitea doesn't render GITHUB_STEP_SUMMARY yet (https://github.com/go-gitea/gitea/issues/36098), so tee the summary into the log where it's actually visible. Keep writing the summary file so it lights up if Gitea ships the feature. --- .gitea/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d8397dc..8317cd5 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: run: | python3 ctest_summary.py build/Testing/*/Test.xml \ --link "https://minio.weaselab.dev/jenkins/conflict-set/${{ gitea.run_number }}/${{ matrix.name }}/Test.xml.zst" \ - >> "$GITHUB_STEP_SUMMARY" + | tee -a "$GITHUB_STEP_SUMMARY" release: needs: build-image @@ -205,7 +205,7 @@ jobs: run: | python3 ctest_summary.py build/Testing/*/Test.xml \ --link "https://minio.weaselab.dev/jenkins/conflict-set/${{ gitea.run_number }}/release-${{ matrix.arch }}/Test.xml.zst" \ - >> "$GITHUB_STEP_SUMMARY" + | tee -a "$GITHUB_STEP_SUMMARY" coverage: needs: build-image @@ -275,6 +275,6 @@ jobs: run: | python3 ctest_summary.py build/Testing/*/Test.xml \ --link "https://minio.weaselab.dev/jenkins/conflict-set/${{ gitea.run_number }}/coverage/Test.xml.zst" \ - >> "$GITHUB_STEP_SUMMARY" - echo "" >> "$GITHUB_STEP_SUMMARY" - echo "📊 [Coverage report](https://minio.weaselab.dev/jenkins/conflict-set/${{ gitea.run_number }}/coverage/coverage_html/index.html)" >> "$GITHUB_STEP_SUMMARY" + | tee -a "$GITHUB_STEP_SUMMARY" + echo "" | tee -a "$GITHUB_STEP_SUMMARY" + echo "📊 [Coverage report](https://minio.weaselab.dev/jenkins/conflict-set/${{ gitea.run_number }}/coverage/coverage_html/index.html)" | tee -a "$GITHUB_STEP_SUMMARY"