fix(ci): correct input name for core coverage summary (#698)
This commit is contained in:
parent
6020c760b5
commit
6fb07f0b50
|
@ -65,7 +65,7 @@ runs:
|
||||||
|
|
||||||
# CLI Package - Collapsible Section (with full text summary from file)
|
# CLI Package - Collapsible Section (with full text summary from file)
|
||||||
echo "<details>" >> "$comment_file"
|
echo "<details>" >> "$comment_file"
|
||||||
echo "<summary>CLI Package - Full Text Report</summary>"
|
echo "<summary>CLI Package - Full Text Report</summary>" >> "$comment_file"
|
||||||
echo "" >> "$comment_file"
|
echo "" >> "$comment_file"
|
||||||
echo '```text' >> "$comment_file"
|
echo '```text' >> "$comment_file"
|
||||||
if [ -f "$cli_full_text_summary_file" ]; then
|
if [ -f "$cli_full_text_summary_file" ]; then
|
||||||
|
@ -74,12 +74,12 @@ runs:
|
||||||
echo "CLI full-text-summary.txt not found at: $cli_full_text_summary_file" >> "$comment_file"
|
echo "CLI full-text-summary.txt not found at: $cli_full_text_summary_file" >> "$comment_file"
|
||||||
fi
|
fi
|
||||||
echo '```' >> "$comment_file"
|
echo '```' >> "$comment_file"
|
||||||
echo "</details>"
|
echo "</details>" >> "$comment_file"
|
||||||
echo "" >> "$comment_file"
|
echo "" >> "$comment_file"
|
||||||
|
|
||||||
# Core Package - Collapsible Section (with full text summary from file)
|
# Core Package - Collapsible Section (with full text summary from file)
|
||||||
echo "<details>" >> "$comment_file"
|
echo "<details>" >> "$comment_file"
|
||||||
echo "<summary>Core Package - Full Text Report</summary>"
|
echo "<summary>Core Package - Full Text Report</summary>" >> "$comment_file"
|
||||||
echo "" >> "$comment_file"
|
echo "" >> "$comment_file"
|
||||||
echo '```text' >> "$comment_file"
|
echo '```text' >> "$comment_file"
|
||||||
if [ -f "$core_full_text_summary_file" ]; then
|
if [ -f "$core_full_text_summary_file" ]; then
|
||||||
|
@ -88,7 +88,7 @@ runs:
|
||||||
echo "Core full-text-summary.txt not found at: $core_full_text_summary_file" >> "$comment_file"
|
echo "Core full-text-summary.txt not found at: $core_full_text_summary_file" >> "$comment_file"
|
||||||
fi
|
fi
|
||||||
echo '```' >> "$comment_file"
|
echo '```' >> "$comment_file"
|
||||||
echo "</details>"
|
echo "</details>" >> "$comment_file"
|
||||||
echo "" >> "$comment_file"
|
echo "" >> "$comment_file"
|
||||||
|
|
||||||
echo "_For detailed HTML reports, please see the 'coverage-reports-${{ inputs.node_version }}' artifact from the main CI run._" >> "$comment_file"
|
echo "_For detailed HTML reports, please see the 'coverage-reports-${{ inputs.node_version }}' artifact from the main CI run._" >> "$comment_file"
|
||||||
|
|
|
@ -141,6 +141,6 @@ jobs:
|
||||||
cli_json_file: coverage_artifact/cli/coverage/coverage-summary.json
|
cli_json_file: coverage_artifact/cli/coverage/coverage-summary.json
|
||||||
core_json_file: coverage_artifact/core/coverage/coverage-summary.json
|
core_json_file: coverage_artifact/core/coverage/coverage-summary.json
|
||||||
cli_full_text_summary_file: coverage_artifact/cli/coverage/full-text-summary.txt
|
cli_full_text_summary_file: coverage_artifact/cli/coverage/full-text-summary.txt
|
||||||
server_full_text_summary_file: coverage_artifact/core/coverage/full-text-summary.txt
|
core_full_text_summary_file: coverage_artifact/core/coverage/full-text-summary.txt
|
||||||
node_version: ${{ matrix.node-version }}
|
node_version: ${{ matrix.node-version }}
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue