Skip to content

Commit 0244911

Browse files
committed
fix display
1 parent c692cc2 commit 0244911

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/test_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666
- name: Bazel build targets
6767
run: |
68-
./integration_test.sh
68+
./integration_test.sh --known-good known_good.updated.json
6969
- name: Show disk space after build
7070
if: always()
7171
run: |

integration_test.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,14 @@ for group in "${!BUILD_TARGET_GROUPS[@]}"; do
142142
commit_hash_display="${commit_hash}"
143143
fi
144144

145-
echo "| ${group} | ${status_symbol} | ${duration} | ${w_count} | ${d_count} | [${commit_hash_display}](${repo}/tree/${commit_hash}) |" | tee -a "${SUMMARY_FILE}"
145+
# Only add link if KNOWN_GOOD_FILE is set
146+
if [[ -n "${KNOWN_GOOD_FILE}" ]]; then
147+
commit_version_cell="[${commit_hash_display}](${repo}/tree/${commit_hash})"
148+
else
149+
commit_version_cell="${commit_hash_display}"
150+
fi
151+
152+
echo "| ${group} | ${status_symbol} | ${duration} | ${w_count} | ${d_count} | ${commit_version_cell} |" | tee -a "${SUMMARY_FILE}"
146153
done
147154

148155
# Append aggregate totals row to summary table

0 commit comments

Comments
 (0)