File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,13 +130,18 @@ jobs:
130130 - name : C2) Add coverage to job summary (if available)
131131 if : always()
132132 run : |
133- echo "## Test Coverage Report" >> "$GITHUB_STEP_SUMMARY"
134133 if [ -f ".coverage" ]; then
135- echo '```' >> "$GITHUB_STEP_SUMMARY"
136- uv run coverage report >> "$GITHUB_STEP_SUMMARY"
137- echo '```' >> "$GITHUB_STEP_SUMMARY"
134+ {
135+ echo "## Test Coverage Report"
136+ echo '```'
137+ uv run coverage report
138+ echo '```'
139+ } >> "$GITHUB_STEP_SUMMARY"
138140 else
139- echo "No coverage data available." >> "$GITHUB_STEP_SUMMARY"
141+ {
142+ echo "## Test Coverage Report"
143+ echo "No coverage data available."
144+ } >> "$GITHUB_STEP_SUMMARY"
140145 fi
141146
142147 - name : C3) Upload coverage artifact (if available)
Original file line number Diff line number Diff line change 7777 - name : D1) Build docs with Zensical
7878 run : |
7979 if [ ! -f "zensical.toml" ]; then
80- echo "zensical.toml not found; refusing to deploy." >> "$GITHUB_STEP_SUMMARY"
80+ {
81+ echo "zensical.toml not found; refusing to deploy."
82+ } >> "$GITHUB_STEP_SUMMARY"
8183 exit 1
8284 fi
8385 uv run zensical build
8890 # build likely failed or the configuration is incorrect.
8991 run : |
9092 if [ ! -d "site" ]; then
91- echo "## Documentation build output missing" >> "$GITHUB_STEP_SUMMARY"
92- echo "Expected directory 'site/' was not created." >> "$GITHUB_STEP_SUMMARY"
93- echo "Check the Zensical build step and zensical.toml configuration." >> "$GITHUB_STEP_SUMMARY"
93+ {
94+ echo "## Documentation build output missing"
95+ echo "Expected directory 'site/' was not created."
96+ echo "Check the Zensical build step and zensical.toml configuration."
97+ } >> "$GITHUB_STEP_SUMMARY"
9498 exit 1
9599 fi
96100
Original file line number Diff line number Diff line change @@ -145,17 +145,21 @@ jobs:
145145 - name : D3) Build docs with Zensical
146146 run : |
147147 if [ ! -f "zensical.toml" ]; then
148- echo "zensical.toml not found; skipping docs deploy." >> "$GITHUB_STEP_SUMMARY"
148+ {
149+ echo "zensical.toml not found; skipping docs deploy."
150+ } >> "$GITHUB_STEP_SUMMARY"
149151 exit 0
150152 fi
151153 uv run zensical build
152154
153155 - name : D4) Verify site output exists
154156 run : |
155157 if [ ! -d "site" ]; then
156- echo "## Documentation build output missing" >> "$GITHUB_STEP_SUMMARY"
157- echo "Expected directory 'site/' was not created." >> "$GITHUB_STEP_SUMMARY"
158- echo "Check the Zensical build step and zensical.toml configuration." >> "$GITHUB_STEP_SUMMARY"
158+ {
159+ echo "## Documentation build output missing"
160+ echo "Expected directory 'site/' was not created."
161+ echo "Check the Zensical build step and zensical.toml configuration."
162+ } >> "$GITHUB_STEP_SUMMARY"
159163 exit 1
160164 fi
161165
You can’t perform that action at this time.
0 commit comments