Skip to content

Commit 7f9011b

Browse files
committed
fix display
1 parent d2093a2 commit 7f9011b

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
@@ -143,7 +143,14 @@ for group in "${!BUILD_TARGET_GROUPS[@]}"; do
143143
commit_hash_display="${commit_hash}"
144144
fi
145145

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

149156
# Append aggregate totals row to summary table

0 commit comments

Comments
 (0)